SHARE
TWEET

kindlegen PKGBUILD

a guest Dec 11th, 2014 172 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Contributor: Valentin-Costel Haloiu <vially.ichb@gmail.com>
  2. # Contributor: Eugene Yunak <e.yunak@gmail.com>
  3.  
  4. pkgname=kindlegen
  5. pkgver=2.9
  6. pkgrel=3
  7. pkgdesc="A command line tool used to build eBooks that can be sold through Amazon's Kindle platform."
  8. arch=('i686' 'x86_64')
  9. url="https://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000765211"
  10. license=(custom)
  11. source=("https://s3.amazonaws.com/${pkgname}/${pkgname}_linux_2.6_i386_v${pkgver/\./_}.tar.gz")
  12. md5sums=('21aef3c8846946203e178c83a37beba1')
  13.  
  14. package() {
  15.     kindle_src="$srcdir"
  16.     install -D -m755 $kindle_src/kindlegen $pkgdir/usr/bin/kindlegen
  17.  
  18.     # install license files
  19.     mkdir -p $pkgdir/usr/share/licenses/$pkgname/
  20.     install -m644 "$kindle_src/KindleGen Legal Notices 2013-02-19 Linux.txt" $pkgdir/usr/share/licenses/$pkgname\
  21. /
  22.     install -m644 $kindle_src/EULA.txt $pkgdir/usr/share/licenses/$pkgname/
  23. }
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
Top