diff options
author | Peter Mattern | 2017-03-16 16:26:56 +0100 |
---|---|---|
committer | Peter Mattern | 2017-03-16 16:26:56 +0100 |
commit | f197842c01b7b78129827c89c4b304d4d5e4fc4d (patch) | |
tree | 9c17d80201d8d498b1bd2a0d8879d2b136fba959 | |
parent | 8ff06011128e9b29bf57fdd63828ea5fc074395c (diff) | |
download | aur-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-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 7 insertions, 8 deletions
@@ -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 @@ -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 } |