APKBUILD 668 B

12345678910111213141516171819202122232425262728
  1. # Contribuitor: sick <sick@rape.lol>
  2. # Maintainer: sick <sick@rape.lol>
  3. pkgname=swarp
  4. pkgver=0.1
  5. pkgrel=0
  6. pkgdesc="Simple pointer warping tool for X"
  7. url="https://tools.suckless.org/x/swarp"
  8. arch="all"
  9. license="MIT"
  10. depends="libx11"
  11. makedepends="libx11-dev"
  12. subpackages=""
  13. source="https://dl.suckless.org/tools/$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="c44fee2e01cfdd8f02f29bfb917a82f05459c9d5db2a0eb18a9c75f60aa73547f7f6cd32557fd4cf94963e2e30a5f02806925e42a57d6eaaff41daf1866fd09d swarp-0.1.tar.gz"