summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChocobo12017-08-19 15:35:10 +0800
committerChocobo12017-08-19 15:35:10 +0800
commitb80d3f648f0a4c549098adc8f884d8f0d7d0143b (patch)
tree2742965cf599f04281d977d16d85e0f81c54d1c0
parentf664539d60ef896541c33c79dd8bfc09d8d28a8d (diff)
downloadaur-b80d3f648f0a4c549098adc8f884d8f0d7d0143b.tar.gz
upgpkg: openjpeg-git 2.2.0.r31.ge5285319-1
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD9
2 files changed, 7 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c0b299930f0..c2711883275 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = openjpeg-git
pkgdesc = An open-source JPEG 2000 codec written in C language
- pkgver = 2.2.0.r9.g0b4c3ce7
+ pkgver = 2.2.0.r31.ge5285319
pkgrel = 1
url = https://github.com/uclouvain/openjpeg
arch = i686
@@ -16,6 +16,7 @@ pkgbase = openjpeg-git
depends = lcms2
provides = openjpeg2
conflicts = openjpeg2
+ options = staticlibs
source = git+https://github.com/uclouvain/openjpeg.git
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index e27fcecf2b1..a56a6ba3b19 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=openjpeg-git
-pkgver=2.2.0.r9.g0b4c3ce7
+pkgver=2.2.0.r31.ge5285319
pkgrel=1
pkgdesc="An open-source JPEG 2000 codec written in C language"
arch=('i686' 'x86_64')
@@ -11,6 +11,7 @@ depends=('glibc' 'zlib' 'libpng' 'libtiff' 'lcms2')
makedepends=('git' 'cmake' 'doxygen')
provides=('openjpeg2')
conflicts=('openjpeg2')
+options=('staticlibs')
source=("git+https://github.com/uclouvain/openjpeg.git")
sha256sums=('SKIP')
@@ -18,7 +19,7 @@ sha256sums=('SKIP')
prepare() {
cd "openjpeg"
- mkdir -p "build"
+ mkdir -p "_build"
# Install doxygen docs to the right directory
sed -i -e "s:DESTINATION\ share/doc:DESTINATION\ share/doc/openjpeg2:" "doc/CMakeLists.txt"
@@ -31,14 +32,14 @@ pkgver() {
}
build() {
- cd "openjpeg/build"
+ cd "openjpeg/_build"
cmake -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_BUILD_TYPE=Release -DBUILD_DOC=on ../
make
}
package() {
- cd "openjpeg/build"
+ cd "openjpeg/_build"
make DESTDIR="$pkgdir" install