[arch-commits] Commit in dumb/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 12:28:50 UTC 2020


    Date: Tuesday, July 7, 2020 @ 12:28:49
  Author: felixonmars
Revision: 658136

archrelease: copy trunk to community-staging-x86_64

Added:
  dumb/repos/community-staging-x86_64/
  dumb/repos/community-staging-x86_64/PKGBUILD
    (from rev 658135, dumb/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: dumb/repos/community-staging-x86_64/PKGBUILD (from rev 658135, dumb/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 12:28:49 UTC (rev 658136)
@@ -0,0 +1,37 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
+# Contributor: JJDaNiMoTh <jjdanimoth at gmail.com>
+# Contributor: Bjørn Lindeijer <bjorn at lindeijer.nl>
+
+pkgname=dumb
+pkgver=2.0.3
+pkgrel=3
+pkgdesc='IT, XM, S3M and MOD player library'
+arch=(x86_64)
+license=(custom:dumb GPL)
+url='https://dumb.sf.net/'
+makedepends=(allegro cmake ninja)
+source=($pkgname-$pkgver.tar.gz::"https://github.com/kode54/dumb/archive/$pkgver.tar.gz")
+sha256sums=('99bfac926aeb8d476562303312d9f47fd05b43803050cd889b44da34a9b2a4f9')
+
+build() {
+  mkdir -p build
+  cd build
+  cmake "$srcdir/$pkgname-$pkgver" \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DBUILD_SHARED_LIBS=ON \
+    -DBUILD_ALLEGRO4=OFF \
+    -DBUILD_EXAMPLES=OFF \
+    -GNinja
+  ninja
+}
+
+package_dumb() {
+  DESTDIR="$pkgdir" ninja -C build install
+  install -Dm644 "$pkgbase-$pkgver/LICENSE" \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list