blob: bb8fa146cd7233ac13b1d360eba34da5b9062cdd (
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
43
44
45
46
|
# Maintainer: Frederic Bezies <fredbezies at gmail.com>
# Contributor: Edoardo Maria Elidoro <edoardo.elidoro@gmail.com>
# Contributor: Christoph Zeiler <rabyte*gmail>
# Contributor: felix <at yandex.com, m.p.isaev>
pkgname=({freedm,freedoom}-git)
pkgbase=freedoom-git
pkgdesc="Free game data files for Doom gaming engines"
pkgver=0.14.0.alpha.r167.g62302f67
pkgrel=1
epoch=1
arch=('any')
url="http://freedoom.github.io/"
license=('BSD')
depends=('bash')
makedepends=('asciidoc' 'deutex' 'python' 'python-pillow' 'git')
source=(git+https://github.com/freedoom/freedoom.git)
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/freedoom"
git describe --long | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/freedoom"
make
}
package_freedm-git() {
provides=('freedoom' 'freedm')
cd "$srcdir/freedoom"
make prefix=/usr DESTDIR="$pkgdir" install-freedm
install -Dm644 $srcdir/freedoom/COPYING.adoc $pkgdir/usr/share/licenses/$pkgname/COPYING
}
package_freedoom-git() {
replaces=('freedoom1' 'freedoom2')
conflicts=('freedoom1' 'freedoom2')
provides=('freedoom1' 'freedoom2')
cd "$srcdir/freedoom"
make prefix=/usr DESTDIR="$pkgdir" install-freedoom
}
|