APKBUILD 725 B

12345678910111213141516171819202122232425262728
  1. # Contribuitor: sick <sick@rape.lol>
  2. # Maintainer: sick <sick@rape.lol>
  3. pkgname=xssstate
  4. pkgver=1.1
  5. pkgrel=0
  6. pkgdesc="A simple utility to get the X screensaver state"
  7. url="https://tools.suckless.org/x/xssstate"
  8. arch="all"
  9. license="MIT"
  10. depends="libxscrnsaver"
  11. makedepends="$depends-dev"
  12. subpackages="$pkgname-doc"
  13. source="https://git.suckless.org/xssstate/snapshot/$pkgname-$pkgver.tar.gz"
  14. builddir="$srcdir/$pkgname-$pkgver"
  15. build() {
  16. cd "$builddir"
  17. make || return 1
  18. }
  19. package() {
  20. cd "$builddir"
  21. make PREFIX=/usr DESTDIR=$pkgdir \
  22. install || return 1
  23. }
  24. sha512sums="c6598fd1da8f3f865e237fa8f6516e57c499408f3567a6f1ee86784b2a032ca0063e925da814117badf6d26d81c103b323a2f30f20c8a019ed6ac3a5622ad8c0 xssstate-1.1.tar.gz"