summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-04-12 02:42:26 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-04-12 02:46:34 -0300
commit10ab6a9d7ae6875741ebb74714e256172b019afe (patch)
tree63975a14c85106630e5253f8ae7a1abb3077bbf7 /pcr
parent300979d8e4ad40a32384ae1cc679fed2ede46e61 (diff)
deutex-devel-git: add new package to [pcr]
Diffstat (limited to 'pcr')
-rw-r--r--pcr/deutex-devel-git/PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/pcr/deutex-devel-git/PKGBUILD b/pcr/deutex-devel-git/PKGBUILD
new file mode 100644
index 000000000..4693d2fcd
--- /dev/null
+++ b/pcr/deutex-devel-git/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer (Arch): Frederic Bezies <fredbezies at gmail dot com>
+# Contributor (Arch): DavidK <david_king at softhome dot net>
+# Contributor (Arch): Arkham <arkham at archlinux dot us>
+# Contributor (Arch): Christoph Zeiler <rabyte*gmail>
+
+pkgname=deutex-devel-git
+pkgver=4.4.902.r15.g1627a78
+pkgrel=1
+pkgdesc="Composition tool for doom-style WAD files"
+arch=('i686' 'x86_64')
+url="http://www.teaser.fr/~amajorel/deutex/"
+license=('custom')
+depends=('glibc')
+makedepends=('git')
+provides=('deutex')
+conflicts=('deutex')
+source=(git+https://github.com/Doom-Utils/deutex.git)
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/deutex"
+ git describe | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
+}
+
+build() {
+ # Configure
+ cd "$srcdir/deutex"
+ ./configure
+
+ # Compile and install
+ make
+}
+
+package() {
+ cd "$srcdir/deutex"
+ install -d "$pkgdir/usr/bin"
+ install -d "$pkgdir/usr/share/man/man6"
+ make BINDIR="$pkgdir/usr/bin" \
+ MANDIR="$pkgdir/usr/share/man" install
+ # Install license
+ install -Dm 644 LICENCE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}