PKGBUILD 789 B

123456789101112131415161718192021222324252627282930313233
  1. pkgname=tabbed-intothegnu-git
  2. pkgver=1.0.r0.gcf0c160
  3. pkgrel=2
  4. license=(MIT)
  5. arch=('i686' 'x86_64')
  6. provides=(tabbed)
  7. conflicts=(tabbed)
  8. groups=('intothegnu-config')
  9. depends=(sh glibc coreutils libx11 libxinerama libxft freetype2 fontconfig libfontconfig.so)
  10. makedepends=(git make)
  11. source=(git+https://notabug.org/BezierQuadratic/Tabbed.git)
  12. sha256sums=('SKIP')
  13. pkgver(){
  14. cd Tabbed
  15. git describe --long --tags | sed 's/-/.r/;s/-/./'
  16. }
  17. build(){
  18. cd $srcdir/Tabbed
  19. make
  20. }
  21. package(){
  22. cd $srcdir/Tabbed
  23. mkdir -p $pkgdir/usr/bin
  24. mkdir -p $pkgdir/usr/share/man/man1
  25. install -m 755 tabbed $pkgdir/usr/bin/
  26. install -m 755 xembed $pkgdir/usr/bin/
  27. cat tabbed.1 | gzip -c > $pkgdir/usr/share/man/man1/tabbed.1.gz
  28. cat xembed.1 | gzip -c > $pkgdir/usr/share/man/man1/xembed.1.gz
  29. }