summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Bezies2015-06-08 19:56:01 +0200
committerFrederic Bezies2015-06-08 19:56:01 +0200
commitae42069dbab86b30bef166f25eda0cc118fe749c (patch)
tree6da0a1cc12acc37845c532ccaa713c5f7a1831fb
downloadaur-ae42069dbab86b30bef166f25eda0cc118fe749c.tar.gz
initial commit to aur4.archlinux.org
-rw-r--r--.SRCINFO29
-rw-r--r--PKGBUILD51
2 files changed, 80 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..21e06680939
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,29 @@
+pkgbase = freedoom-git
+ pkgdesc = Free game data files for Doom gaming engines
+ pkgver = 0.9.r57.gc2e7f4a
+ pkgrel = 1
+ epoch = 1
+ url = http://freedoom.github.io/
+ arch = any
+ license = BSD
+ makedepends = git
+ makedepends = imagemagick
+ makedepends = deutex-devel
+ makedepends = python2
+ makedepends = python2-virtualenv
+ makedepends = asciidoc
+ source = git+https://github.com/freedoom/freedoom.git
+ md5sums = SKIP
+
+pkgname = freedm-git
+ provides = freedoom
+ provides = freedm
+
+pkgname = freedoom1-git
+ provides = freedoom
+ provides = freedoom1
+
+pkgname = freedoom2-git
+ provides = freedoom
+ provides = freedoom2
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6e106ecd42c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,51 @@
+# 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,freedoom1,freedoom2}-git)
+pkgbase=freedoom-git
+pkgdesc="Free game data files for Doom gaming engines"
+pkgver=0.9.r57.gc2e7f4a
+pkgrel=1
+epoch=1
+arch=('any')
+url="http://freedoom.github.io/"
+license=('BSD')
+makedepends=('git' 'imagemagick' 'deutex-devel' 'python2' 'python2-virtualenv' 'asciidoc')
+source=(git+https://github.com/freedoom/freedoom.git)
+md5sums=(SKIP)
+
+pkgver() {
+ cd "$srcdir/freedoom"
+ git describe | 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 DESTDIR="$pkgdir" prefix=/usr install-freedm
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/freedm/COPYING
+}
+
+package_freedoom1-git() {
+ provides=('freedoom' 'freedoom1')
+
+ cd "$srcdir/freedoom"
+ make DESTDIR="$pkgdir" prefix=/usr install-freedoom1
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/freedoom1/COPYING
+}
+
+package_freedoom2-git() {
+ provides=('freedoom' 'freedoom2')
+
+ cd "$srcdir/freedoom"
+ make DESTDIR="$pkgdir" prefix=/usr install-freedoom2
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/freedoom2/COPYING
+}