SHARE
TWEET

PKGBUILD datacrow 4.1.0

a guest Jan 14th, 2016 122 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Frederik "Freso" S. Olesen <freso.dk@gmail.com>
  2. pkgname=datacrow
  3. pkgver=4.1.0
  4. pkgrel=1
  5. _pkgfile="${pkgname}_${pkgver//\./_}_client_zipped.zip"
  6. pkgdesc='Movie, video, book, image, software, and music cataloger/media manager.'
  7. arch=('any')
  8. url='http://datacrow.net/'
  9. license=('GPL3')
  10. depends=('java-runtime')
  11. changelog=ChangeLog
  12. source=('http://192.168.1.192/datacrow_4_1_0_client_zipped.zip'
  13.         'datacrow.sh'
  14.         'datacrow.desktop')
  15. md5sums=('236a5140c5c80e6ebba754f78e10484b'
  16.          '04322853e8f380f5d7a7b79a166226d8'
  17.          '751bab7bc4aee2d5f5d667f3dba45ef4')
  18.  
  19. prepare() {
  20.         mv "dc-client" $pkgname
  21.         cd $pkgname
  22.         # Remove Windows files
  23.         rm -rf *.exe *.cmd  
  24.         # Prepare executables
  25.         # chmod +x *.sh datacrow{32,64}bit  (pas de fichiers .sh [note Ch]
  26. }
  27.  
  28. package() {
  29.         cd $pkgname
  30.  
  31.         ### Auxilliary files
  32.         # Icons
  33.         install -Dm644 'icons/datacrow.png'   "$pkgdir/usr/share/pixmaps/datacrow.png"
  34.         install -Dm644 'icons/datacrow16.png' "$pkgdir/usr/share/pixmaps/datacrow-16.png"
  35.         install -Dm644 'icons/datacrow32.png' "$pkgdir/usr/share/pixmaps/datacrow-32.png"
  36.         # Launch script
  37.         install -Dm755 '../datacrow.sh'      "$pkgdir/usr/bin/datacrow"
  38.         install -Dm644 '../datacrow.desktop' "$pkgdir/usr/share/applications/datacrow.desktop"
  39.  
  40.         ### Main package
  41.         # Docs
  42.         install -dm755 "$pkgdir/usr/share/doc"
  43.         mv 'readme' "$pkgdir/usr/share/doc/$pkgname"
  44.         # Main program files
  45.         install -dm755 "$pkgdir/opt"
  46.         cp -aR "../$pkgname" "$pkgdir/opt/"
  47. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top