summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorafontenot2019-04-16 09:51:16 -0700
committerafontenot2019-04-16 09:51:16 -0700
commit5366cd30f6689fc5012807305c99093a724dfbcd (patch)
treed6c032f4cd3c8ee58708fcc064aa4739cadf8a48
parent5677e62d9b3954c23db6d11112b9b1b70f8917e7 (diff)
downloadaur-5366cd30f6689fc5012807305c99093a724dfbcd.tar.gz
fix BSD license issue, add depends glibc
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 30b789780789..e5827bdfda4e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 06ac216d4cd9..952f1ab79636 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"
}