diff options
author | haawda | 2021-12-06 17:14:30 +0100 |
---|---|---|
committer | haawda | 2021-12-06 17:14:30 +0100 |
commit | 809736b98e90c394a2303b86709a43affc6fdcb2 (patch) | |
tree | 9c60bef42a6408cc4e629c4d275a05866f364d88 | |
parent | 7a338a5b0b20e6c79639dcfd9cc752877ec94649 (diff) | |
download | aur-809736b98e90c394a2303b86709a43affc6fdcb2.tar.gz |
buildsystem switched to cmake
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 9 insertions, 8 deletions
@@ -1,6 +1,6 @@ pkgbase = agedu-git pkgdesc = Track down wasted disk space - pkgver = 20200704.r149.2a7d4a2 + pkgver = 20211128.r150.8cd63c5 pkgrel = 1 url = http://www.chiark.greenend.org.uk/~sgtatham/agedu/ arch = i686 @@ -8,6 +8,7 @@ pkgbase = agedu-git license = custom:MIT makedepends = git makedepends = halibut + makedepends = cmake depends = glibc provides = agedu conflicts = agedu @@ -15,4 +16,3 @@ pkgbase = agedu-git md5sums = SKIP pkgname = agedu-git - @@ -2,13 +2,13 @@ # Maintainer: Stefan Husmann <stefan-husmann@t-online.de> pkgname=agedu-git -pkgver=20200704.r149.2a7d4a2 +pkgver=20211128.r150.8cd63c5 pkgrel=1 pkgdesc="Track down wasted disk space" arch=('i686' 'x86_64') url="http://www.chiark.greenend.org.uk/~sgtatham/agedu/" license=('custom:MIT') -makedepends=('git' 'halibut') +makedepends=('git' 'halibut' 'cmake') depends=('glibc') provides=('agedu') conflicts=('agedu') @@ -22,13 +22,14 @@ pkgver() { build() { cd ${pkgname%-git} - ./mkauto.sh - ./configure --prefix=/usr + [[ -d build ]] || mkdir build + cd build + cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .. make } package() { - cd ${pkgname%-git} + cd ${pkgname%-git}/build make DESTDIR="$pkgdir/" install - install -Dm644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + install -Dm644 ../LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } |