diff options
author | afontenot | 2019-04-16 09:51:16 -0700 |
---|---|---|
committer | afontenot | 2019-04-16 09:51:16 -0700 |
commit | 5366cd30f6689fc5012807305c99093a724dfbcd (patch) | |
tree | d6c032f4cd3c8ee58708fcc064aa4739cadf8a48 | |
parent | 5677e62d9b3954c23db6d11112b9b1b70f8917e7 (diff) | |
download | aur-5366cd30f6689fc5012807305c99093a724dfbcd.tar.gz |
fix BSD license issue, add depends glibc
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 6 insertions, 5 deletions
@@ -1,13 +1,14 @@ pkgbase = mozjpeg pkgdesc = JPEG image codec with accelerated baseline decoding and superior encoding pkgver = 3.3.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/mozilla/mozjpeg arch = i686 arch = x86_64 arch = armv7h license = BSD makedepends = nasm + depends = glibc provides = libjpeg=8.1.2 provides = turbojpeg provides = libjpeg-turbo @@ -6,13 +6,14 @@ pkgname="mozjpeg" pkgver=3.3.1 -pkgrel=1 +pkgrel=2 pkgdesc="JPEG image codec with accelerated baseline decoding and superior encoding" url="https://github.com/mozilla/mozjpeg" license=("BSD") arch=("i686" "x86_64" "armv7h") +depends=("glibc") makedepends=("nasm") -source=("https://github.com/mozilla/${pkgname}/archive/v${pkgver}.tar.gz") +source=("$url/archive/v${pkgver}.tar.gz") sha1sums=('1a4be569d62f51e1377e46b8b22b6a64fb121794') provides=("libjpeg=8.1.2" "turbojpeg" "libjpeg-turbo") @@ -39,7 +40,6 @@ package() { exampledir="/usr/share/doc/${pkgname}" \ install - install -d "${pkgdir}/usr/share/licenses/${pkgname}" - ln -t "${pkgdir}/usr/share/licenses/${pkgname}" -s "../../doc/${pkgname}/README"{,-turbo.txt,-mozilla.txt} + install -D LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -m644 jpegint.h "${pkgdir}/usr/include" } |