APKBUILD 810 B

123456789101112131415161718192021222324252627282930313233
  1. # Contributor: sick <sick@rape.lol>
  2. # Maintainer: sick <sick@rape.lol>
  3. pkgname=xsel
  4. pkgver=1.2.0
  5. pkgrel=0
  6. pkgdesc="A command-line program for getting and setting the contents of the X selection"
  7. url="http://www.kfish.org/software/xsel/"
  8. arch="all"
  9. license="Custom"
  10. depends="libxt"
  11. makedepends="$depends-dev"
  12. subpackages="$pkgname-doc"
  13. source="http://www.kfish.org/software/xsel/download/$pkgname-$pkgver.tar.gz"
  14. builddir="$srcdir/$pkgname-$pkgver"
  15. build() {
  16. cd "$builddir"
  17. ./configure --prefix=/usr
  18. make || return 1
  19. }
  20. check() {
  21. cd "$builddir"
  22. make check || return 1
  23. }
  24. package() {
  25. cd "$builddir"
  26. make DESTDIR=$pkgdir install || return 1
  27. }
  28. sha512sums="e28623e6cc180f2e2210c20697d21d336633f0a5272ca9b62150a1c535e8de89731acc07230a9977e391e37d3943a9d687f1f967765a15bca5092a6c6d8c4d8f xsel-1.2.0.tar.gz"