summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 92491b4fc7fa0fd63ec335aac38e2781e0a9a32c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Maintainer: Frederic Bezies <fredbezies at gmail dot com>
# Contributor: DavidK <david_king at softhome dot net>
# Contributor: Arkham <arkham at archlinux dot us>
# Contributor: Christoph Zeiler <rabyte*gmail>

pkgname=deutex-git
pkgver=5.2.1.r2.g40f7f63
pkgrel=1
pkgdesc="A WAD file composer for Doom, Heretic, Hexen and Strife"
arch=('i686' 'x86_64')
url="https://github.com/Doom-Utils/deutex"
license=('GPL2')
depends=('libpng')
makedepends=('git' 'asciidoc')
provides=('deutex' 'deutex-devel')
conflicts=('deutex' 'deutex-devel')
source=(git+https://github.com/Doom-Utils/deutex.git)
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/deutex"
  git describe | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}

prepare() {
 cd "$srcdir/deutex"
 ./bootstrap
}

build() {
    # Configure
    cd "$srcdir/deutex"
    ./configure  --prefix=/usr

    # Compile and install
    make 
}

package() {
    cd "$srcdir/deutex"
    make DESTDIR="$pkgdir" install
}