summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/deutex-devel-git/PKGBUILD42
-rw-r--r--pcr/deutex/PKGBUILD29
2 files changed, 29 insertions, 42 deletions
diff --git a/pcr/deutex-devel-git/PKGBUILD b/pcr/deutex-devel-git/PKGBUILD
deleted file mode 100644
index 4693d2fcd..000000000
--- a/pcr/deutex-devel-git/PKGBUILD
+++ /dev/null
@@ -1,42 +0,0 @@
-# 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"
-}
diff --git a/pcr/deutex/PKGBUILD b/pcr/deutex/PKGBUILD
new file mode 100644
index 000000000..93bab97a2
--- /dev/null
+++ b/pcr/deutex/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer (Arch): Mike Swanson <mikeonthecomputer@gmail.com>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+
+pkgname=deutex
+pkgver=5.1.1
+pkgrel=1
+pkgdesc="Composer and decomposer for Doom, Heretic, Hexen, Strife WAD files"
+arch=('i686' 'x86_64' 'armv7h')
+url="https://github.com/Doom-Utils/deutex"
+license=('custom')
+depends=('libpng')
+makedepends=('asciidoc')
+conflicts=('deutex-devel-git')
+source=($url/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz{,.sig})
+sha512sums=('a6af2b16d9f3ad4da0bee2ede4cbc71902b935af7055aec9f198d5af6de371adb1a401a8f12309eac4fdd80fd9dc36873ef45e12db95c9b18908c8aed3a5adc6'
+ 'SKIP')
+validpgpkeys=('99459CE2770037FF5566EB4B8649B37607A08042')
+
+build() {
+ cd "$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}