APKBUILD 1017 B

1234567891011121314151617181920212223242526272829303132333435
  1. # Contribuitor: sick <sick@rape.lol>
  2. # Maintainer: sick <sick@rape.lol>
  3. pkgname=meh
  4. pkgver=0.4
  5. pkgrel=0
  6. pkgdesc="Small, simple, super fast image viewer using raw XLib"
  7. url="https://notabug.org/urukhai/meh"
  8. arch="x86 x86_64"
  9. license="MIT"
  10. depends="giflib libjpeg-turbo libpng libx11 libxtst"
  11. makedepends="giflib-dev libjpeg-turbo-dev libpng-dev libx11-dev libxtst-dev"
  12. subpackages="$pkgname-doc"
  13. source="$pkgname-$pkgver.tar.gz::https://notabug.org/urukhai/meh/archive/v0.4.tar.gz
  14. fix-musl-fd-set.patch
  15. "
  16. builddir="$srcdir/$pkgname"
  17. prepare() {
  18. default_prepare
  19. }
  20. build() {
  21. cd "$builddir"
  22. make meh || return 1
  23. }
  24. package() {
  25. cd "$builddir"
  26. make PREFIX=/usr DESTDIR="$pkgdir" install || return 1
  27. }
  28. sha512sums="f99bacdee34b816953c55063ba2a5e98437375b950f472954b0136ee75edd41b879c7e7c1054c4939ac0ed1304cc655d0e88947d8b37796b7c093836f4870a3d meh-0.4.tar.gz
  29. 69bf1b1aa2654ad0503839285916ffeee54f81bb1557c640fccb92520a9c34ec3bca5370ba2da6f3cdb798f999fab9bbd56720266ad5275b69c3ae293edc0ea1 fix-musl-fd-set.patch"