summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Teibes2021-05-24 13:50:41 +0200
committerCarsten Teibes2021-05-24 13:50:41 +0200
commit7cbcbb40b695b38374a0db148adb587014556d0c (patch)
treef9e775736060a1342719c17e7b7909a823129ee5
parent037f90a73c6626c32a885f91ad78d7749de7caf5 (diff)
downloadaur-aldumb.tar.gz
[upd] 2.0.2→2.0.3
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD17
2 files changed, 11 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dec6feefb78..aa2a68963f3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = aldumb
pkgdesc = Allegro 4 glue library for DUMB module player library
- pkgver = 2.0.2
+ pkgver = 2.0.3
pkgrel = 1
url = https://github.com/kode54/dumb
arch = x86_64
@@ -8,10 +8,11 @@ pkgbase = aldumb
license = custom: dumb
license = GPL
makedepends = cmake
+ makedepends = ninja
depends = dumb
depends = allegro4
- source = aldumb-2.0.2.tar.gz::https://github.com/kode54/dumb/archive/2.0.2.tar.gz
- sha256sums = 9e64eff5e4237a1e3c2cf2e8d5f75e3b54c2197fd5bc85a71a4741a5fd9c10f4
+ source = aldumb-2.0.3.tar.gz::https://github.com/kode54/dumb/archive/2.0.3.tar.gz
+ sha256sums = 99bfac926aeb8d476562303312d9f47fd05b43803050cd889b44da34a9b2a4f9
pkgname = aldumb
diff --git a/PKGBUILD b/PKGBUILD
index a01fa5af909..77e411fbf68 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,36 +1,33 @@
# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
pkgname=aldumb
-pkgver=2.0.2
+pkgver=2.0.3
pkgrel=1
pkgdesc='Allegro 4 glue library for DUMB module player library'
arch=('x86_64' 'i686')
license=('custom: dumb' 'GPL')
url='https://github.com/kode54/dumb'
depends=('dumb' 'allegro4')
-makedepends=('cmake')
+makedepends=('cmake' 'ninja')
source=($pkgname-$pkgver.tar.gz::"https://github.com/kode54/dumb/archive/$pkgver.tar.gz")
-sha256sums=('9e64eff5e4237a1e3c2cf2e8d5f75e3b54c2197fd5bc85a71a4741a5fd9c10f4')
+sha256sums=('99bfac926aeb8d476562303312d9f47fd05b43803050cd889b44da34a9b2a4f9')
prepare() {
- rm -rf build
- mkdir -p build
+ rm -rf aurbuild
}
build() {
- cd build
- cmake ../dumb-$pkgver \
+ cmake -B aurbuild -G Ninja dumb-$pkgver \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_ALLEGRO4=ON \
-DBUILD_EXAMPLES=OFF
- make
+ cmake --build aurbuild
}
package() {
- make -C build DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" cmake --install aurbuild
install -Dm644 dumb-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
# delete stuff present in `dumb` package