diff options
Diffstat (limited to 'pcr/deutex-devel-git/PKGBUILD')
-rw-r--r-- | pcr/deutex-devel-git/PKGBUILD | 42 |
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" +} |