APKBUILD 755 B

12345678910111213141516171819202122232425262728293031
  1. # Contribuitor: sick <sick@rape.lol>
  2. # Maintainer: sick <sick@rape.lol>
  3. pkgname=smdev
  4. pkgver=0.2.3
  5. pkgrel=0
  6. pkgdesc="A mostly mdev-compatible suckless program to manage device nodes"
  7. url="https://core.suckless.org/smdev/"
  8. arch="all"
  9. license="MIT"
  10. depends=""
  11. makedepends="linux-headers"
  12. subpackages=""
  13. source="https://git.suckless.org/smdev/snapshot/smdev-0.2.3.tar.gz"
  14. builddir="$srcdir/$pkgname-$pkgver"
  15. prepare() {
  16. echo "CC = cc" >> $builddir/config.mk
  17. }
  18. build() {
  19. cd "$builddir"
  20. make || return 1
  21. }
  22. package() {
  23. cd "$builddir"
  24. make PREFIX=/usr DESTDIR=$pkgdir install || return 1
  25. }
  26. sha512sums="69e776189221548b2e261e1b9d3b6bbbfcf1b0500ad87a8c4e39aa6176a2212646c50774077f1286788f78d6200f65144d43039b81a95d3469c580fefb8c054e smdev-0.2.3.tar.gz"