diff options
author | Lolix | 2019-06-30 23:53:56 +0200 |
---|---|---|
committer | Lolix | 2019-06-30 23:53:56 +0200 |
commit | c1c5bd7952b495d4465ebe52f1a608f33921a2cf (patch) | |
tree | 284619d20b874df525e82e68be3123804b9fe846 | |
parent | 32a1f71b247221d2413e61f97b34066ed6561d2d (diff) | |
download | aur-c1c5bd7952b495d4465ebe52f1a608f33921a2cf.tar.gz |
add missing makedepends
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 12 insertions, 7 deletions
@@ -7,6 +7,7 @@ pkgbase = madrigal-git arch = x86_64 license = GPL3 makedepends = git + makedepends = cmake depends = qt5-svg depends = hicolor-icon-theme provides = madrigal @@ -1,5 +1,4 @@ -# Maintainer: Fabio Loli <loli_fabio@protonmail.com> -# https://github.com/FabioLolix +# Maintainer: Fabio 'Lolix' Loli <lolix@disroot.org> -> https://github.com/FabioLolix pkgname=madrigal-git pkgver=r192.8395a23 @@ -9,7 +8,7 @@ arch=('i686' 'x86_64') url="https://github.com/CDrummond/madrigal" license=('GPL3') depends=('qt5-svg' 'hicolor-icon-theme') -makedepends=('git') +makedepends=('git' 'cmake') provides=('madrigal') source=("${pkgname}::git+https://github.com/CDrummond/madrigal.git") md5sums=('SKIP') @@ -18,11 +17,16 @@ pkgver() { cd ${pkgname} printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } - -package() { - install -d ${srcdir}/${pkgname}/build - cd ${srcdir}/${pkgname}/build +prepare() { + cd "$srcdir/$pkgname" + mkdir -p build +} +build() { + cd "$srcdir/$pkgname/build" cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr make +} +package() { + cd ${srcdir}/${pkgname}/build make DESTDIR=$pkgdir install } |