Advertisement
Narga

KindleGen 2.9

Jul 11th, 2013
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.85 KB | None | 0 0
  1. # Contributor: Valentin-Costel Haloiu <vially.ichb@gmail.com>; Nguyen Dinh Quan a.k.a Narga <http://www.tainguyen.com/>
  2.  
  3. pkgname=kindlegen
  4. pkgver=2.1
  5. pkgrel=1
  6. pkgdesc="A command line tool used to build eBooks that can be sold through Amazon's Kindle platform."
  7. arch=('i686' 'x86_64')
  8. url="https://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000765211"
  9. license=(custom)
  10. source=("https://s3.amazonaws.com/${pkgname}/${pkgname}_linux_2.6_i386_v${pkgver/\./_}.tar.gz")
  11. md5sums=('787e4205f6acfe92af9908913b49f34a')
  12.  
  13. package() {
  14.     install -D -m755 $srcdir/kindlegen $pkgdir/usr/bin/kindlegen
  15.  
  16.     # install license files
  17.     mkdir -p $pkgdir/usr/share/licenses/$pkgname/
  18.     install -m644 "$srcdir/KindleGen Legal Notices 2013-02-19 Linux.txt" $pkgdir/usr/share/licenses/$pkgname/
  19.     install -m644 $srcdir/EULA.txt $pkgdir/usr/share/licenses/$pkgname/
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement