From 10ab6a9d7ae6875741ebb74714e256172b019afe Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 12 Apr 2016 02:42:26 -0300 Subject: deutex-devel-git: add new package to [pcr] --- pcr/deutex-devel-git/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 pcr/deutex-devel-git/PKGBUILD (limited to 'pcr/deutex-devel-git/PKGBUILD') 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 +# Contributor (Arch): DavidK +# Contributor (Arch): Arkham +# Contributor (Arch): Christoph Zeiler + +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" +} -- cgit v1.2.3