SHARE
TWEET

Untitled

a guest Jul 19th, 2018 123 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=lib32-heif
  2. _pkgname=heif
  3. pkgver=3.3.1
  4. pkgrel=1
  5. pkgdesc='High Efficiency Image File Format'
  6. arch=('x86_64' 'i686')
  7. url='https://nokiatech.github.io/heif/'
  8. license=('custom')
  9. makedepends=('cmake')
  10. source=("https://github.com/nokiatech/heif/archive/v${pkgver}.tar.gz")
  11. sha512sums=('4c9d118ab1b3ea96652e35e0e042ddd9fef035c99d7b58c99393c60bf6169ab1f69ef8541df59cc6fc00c0d2d78d900c2d30d41dcd60afd89c9170bd1305f50f')
  12.  
  13. build() {
  14.     cd "${srcdir}/${_pkgname}-${pkgver}/build/"
  15.     cmake ../srcs -DCMAKE_CXX_FLAGS=-m32 -DCMAKE_C_FLAGS=-m32
  16.     make
  17. }
  18.  
  19. package() {
  20.     cd "${srcdir}/${_pkgname}-${pkgver}"
  21.     install -dm755 "${pkgdir}/usr/lib32/heif/"
  22.  
  23.     install -Dm644 LICENSE.TXT "${pkgdir}/usr/share/licenses/${pkgname}"
  24.     cp -r srcs/api "${pkgdir}/usr/lib32/heif/"
  25.  
  26.     cd build/lib/
  27.     install -Dm644 -t "${pkgdir}/usr/lib32/" ./*
  28. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top