PKGBUILD 707 B

123456789101112131415161718192021222324252627282930313233
  1. pkgname=whatchamacallit-escstring
  2. pkgver=0.0.1
  3. pkgrel=1
  4. pkgdesc="JSON-like string escaping."
  5. url="http://www.gdritter.com"
  6. arch=('x86_64' 'i686')
  7. license=('WTFPL')
  8. depends=('musl')
  9. optdepends=()
  10. makedepends=()
  11. conflicts=()
  12. replaces=()
  13. backup=()
  14. install=''
  15. source=('escstring.c'
  16. 'escstring.1'
  17. 'Makefile')
  18. md5sums=('5d1bb6c729091c19bab98189d26a4772'
  19. 'a8031df89e9cbc0c565046f60a359837'
  20. 'e35cfdabe4de2c98895840f559a70bda')
  21. build() {
  22. make
  23. }
  24. package() {
  25. mkdir -p ${pkgdir}/usr/local/bin
  26. mkdir -p ${pkgdir}/usr/local/man/man8
  27. make prefix="${pkgdir}/usr/local" install
  28. install -g 0 -o 0 -m 0644 escstring.1 ${pkgdir}/usr/local/man/man8/
  29. gzip ${pkgdir}/usr/local/man/man8/escstring.1
  30. }