APKBUILD 717 B

12345678910111213141516171819202122232425262728
  1. # Contributor: sick <sick@rape.lol>
  2. # Maintainer: sick <sick@rape.lol>
  3. pkgname=colors
  4. pkgver=0.3
  5. pkgrel=0
  6. pkgdesc="A simple program to extract colors from PNG files"
  7. url="https://git.2f30.org/colors/"
  8. arch="all"
  9. license="ISC"
  10. depends="libpng"
  11. makedepends="$depends-dev"
  12. subpackages="$pkgname-doc"
  13. source="https://dl.2f30.org/releases/$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 MANPREFIX=/usr/share/man \
  22. DESTDIR=$pkgdir install || return 1
  23. }
  24. sha512sums="7520bc9988b033dd602abce3d82c73b6dd3f0cc764225a1858f457c41ae5948655e20d2e44e1c07261279b62c49555a352914b4656f4cdf3dbbe6af0f33ecc44 colors-0.3.tar.gz"