[arch-commits] Commit in dumb/repos/community-x86_64 (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Wed Nov 15 09:18:11 UTC 2017
Date: Wednesday, November 15, 2017 @ 09:18:09
Author: arodseth
Revision: 266852
archrelease: copy trunk to community-x86_64
Added:
dumb/repos/community-x86_64/PKGBUILD
(from rev 266851, dumb/trunk/PKGBUILD)
Deleted:
dumb/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 135 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 69 insertions(+), 66 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-11-15 09:17:55 UTC (rev 266851)
+++ PKGBUILD 2017-11-15 09:18:09 UTC (rev 266852)
@@ -1,66 +0,0 @@
-# $Id$
-# 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 lindeijer nl>
-
-pkgbase=dumb
-pkgname=(dumb dumb-a4)
-pkgver=2.0.2
-pkgrel=2
-pkgdesc='IT, XM, S3M and MOD player library'
-arch=('x86_64')
-license=('custom:dumb' 'GPL')
-url='http://dumb.sf.net/'
-makedepends=('allegro' 'allegro4' 'cmake' 'ninja')
-source=($pkgname-$pkgver.tar.gz::"https://github.com/kode54/dumb/archive/$pkgver.tar.gz")
-sha256sums=('9e64eff5e4237a1e3c2cf2e8d5f75e3b54c2197fd5bc85a71a4741a5fd9c10f4')
-
-build() {
- cp -r "$pkgname-$pkgver" "$pkgname-$pkgver-a4"
- mkdir -p build-a4 build-a5
-
- # Configure for Allegro 4
- cd build-a4
- cmake "$srcdir/$pkgname-$pkgver-a4" \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DBUILD_SHARED_LIBS=ON \
- -DBUILD_ALLEGRO4=ON \
- -DBUILD_EXAMPLES=OFF \
- -GNinja
-
- # Configure for Allegro 5
- cd "$srcdir/build-a5"
- 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
-
- # Build both
- cd "$srcdir"
- ninja -C build-a4
- ninja -C build-a5
-}
-
-package_dumb() {
- DESTDIR="$pkgdir" ninja -C build-a5 install
- install -Dm644 "$pkgbase-$pkgver/LICENSE" \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_dumb-a4() {
- depends=('allegro4')
- pkgdesc='IT, XM, S3M and MOD player library (for Allegro 4)'
-
- DESTDIR="$pkgdir" ninja -C build-a4 install
- install -Dm644 "$pkgbase-$pkgver/LICENSE" \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim: ts=2 sw=2 et:
Copied: dumb/repos/community-x86_64/PKGBUILD (from rev 266851, dumb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-11-15 09:18:09 UTC (rev 266852)
@@ -0,0 +1,69 @@
+# $Id$
+# 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 lindeijer nl>
+
+pkgbase=dumb
+pkgname=(dumb dumb-a4)
+pkgver=2.0.2
+pkgrel=3
+pkgdesc='IT, XM, S3M and MOD player library'
+arch=('x86_64')
+license=('custom:dumb' 'GPL')
+url='http://dumb.sf.net/'
+makedepends=('allegro' 'allegro4' 'cmake' 'ninja')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/kode54/dumb/archive/$pkgver.tar.gz")
+sha256sums=('9e64eff5e4237a1e3c2cf2e8d5f75e3b54c2197fd5bc85a71a4741a5fd9c10f4')
+
+build() {
+ cp -r "$pkgname-$pkgver" "$pkgname-$pkgver-a4"
+ mkdir -p build-a4 build-a5
+
+ # Configure for Allegro 4
+ cd build-a4
+ cmake "$srcdir/$pkgname-$pkgver-a4" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=ON \
+ -DBUILD_ALLEGRO4=ON \
+ -DBUILD_EXAMPLES=OFF \
+ -GNinja
+
+ # Configure for Allegro 5
+ cd "$srcdir/build-a5"
+ 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
+
+ # Build both
+ cd "$srcdir"
+ ninja -C build-a4
+ ninja -C build-a5
+}
+
+package_dumb() {
+ conflicts=('dumb-a4')
+ DESTDIR="$pkgdir" ninja -C build-a5 install
+ install -Dm644 "$pkgbase-$pkgver/LICENSE" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_dumb-a4() {
+ conflicts=('dumb')
+ provides=('dumb')
+ depends=('allegro4')
+ pkgdesc='IT, XM, S3M and MOD player library (for Allegro 4)'
+
+ DESTDIR="$pkgdir" ninja -C build-a4 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