summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Mattern2017-03-16 16:26:56 +0100
committerPeter Mattern2017-03-16 16:26:56 +0100
commitf197842c01b7b78129827c89c4b304d4d5e4fc4d (patch)
tree9c17d80201d8d498b1bd2a0d8879d2b136fba959
parent8ff06011128e9b29bf57fdd63828ea5fc074395c (diff)
downloadaur-f197842c01b7b78129827c89c4b304d4d5e4fc4d.tar.gz
Build out-of-source
Omitting man pages due to this was fixed upstream (http://forum.dcmtk.org/viewtopic.php?f=3&t=4475).
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 7 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 06804b28e555..594102b0219b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Thu Mar 9 21:37:48 UTC 2017
+# Thu Mar 16 15:26:43 UTC 2017
pkgbase = dcmtk-git
pkgdesc = Collection of libraries and applications implementing large parts the DICOM standard
- pkgver = 3.6.1_20170228.17.g7dec4d56c
+ pkgver = 3.6.1_20170228.43.gef9173b95
pkgrel = 1
url = http://dicom.offis.de/dcmtk
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 700a5326dbb4..b311a9fda83f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgname=dcmtk
pkgname=$_pkgname-git
-pkgver=3.6.1_20170228.17.g7dec4d56c
+pkgver=3.6.1_20170228.43.gef9173b95
pkgrel=1
pkgdesc='Collection of libraries and applications implementing large parts the DICOM standard'
arch=('i686' 'x86_64')
@@ -22,10 +22,9 @@ pkgver() {
}
build() {
- # man pages are created only when compiling inside the source tree
- # http://forum.dcmtk.org/viewtopic.php?f=3&t=4475
- cd $_pkgname
- cmake . \
+ mkdir -p build
+ cd build
+ cmake "$srcdir/$_pkgname" \
-DDCMTK_ENABLE_CHARSET_CONVERSION=ICU \
-DDCMTK_USE_CXX11_STL=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
@@ -36,7 +35,7 @@ build() {
}
package() {
- cd $_pkgname
+ cd build
make DESTDIR="$pkgdir" install
install -D -m644 $srcdir/$_pkgname/COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/LICENSE
}