Advertisement
Guest User

mynotex 1.2.3.0 PKGBUILD

a guest
Aug 14th, 2013
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.79 KB | None | 0 0
  1. # Contributor: goten002 <goten002@gmail.com>
  2. # Contributor: epinull
  3. pkgname=mynotex
  4. pkgver=1.2.3.0
  5. pkgrel=1
  6. pkgdesc="A free note-taking and notes manager software for Linux."
  7. url="http://sites.google.com/site/mynotex"
  8. license=('GPL')
  9. arch=('i686' 'x86_64')
  10. depends=('sqlite3' 'gtk2')
  11.  
  12. if [ "$CARCH" = "i686" ]; then
  13.     debarch=("i386")
  14.     md5sums=('ac08b504fcd85423eec0319a4f4ed8e1')
  15. elif [ "$CARCH" = "x86_64" ]; then
  16.     debarch=("amd64")
  17.     md5sums=('affc3330b0c035d34bb5760daeb26176')
  18. fi
  19.  
  20. source=("https://sites.google.com/site/mynotex/files/mynotex_${pkgver}_${debarch}.deb")
  21.  
  22. package() {
  23.     cd "${srcdir}"
  24.     ar x "${pkgname}_${pkgver}_${debarch}.deb" data.tar.gz
  25.     tar -axf data.tar.gz -C "$pkgdir"
  26.     mkdir -p "${pkgdir}/usr/bin/"
  27.     ln -s "/opt/mynotex/mynotex" "${pkgdir}/usr/bin/mynotex"
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement