summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMildred Ki'Lya2017-08-31 19:27:54 +0200
committerMildred Ki'Lya2017-08-31 19:27:54 +0200
commit9c43130c620d17c2559fcfcfb275cc1f2a5c7571 (patch)
tree825a18e5db1fcb9768bfa8657031874cff761dc7
downloadaur-9c43130c620d17c2559fcfcfb275cc1f2a5c7571.tar.gz
Package DarkRadiant
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD32
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0423c1b3ed0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = darkradiant-git
+ pkgdesc = Editor for The Dark Mod and Doom 3 (idTech4) based games
+ pkgver = 2.1.0.r559.gb2f5471ea
+ pkgrel = 1
+ arch = x86_64
+ makedepends = automake
+ makedepends = libtool
+ depends = wxgtk
+ depends = ftgl
+ depends = glew
+ depends = boost
+ depends = boost-libs
+ depends = freealut
+ depends = webkitgtk2
+ depends = pybind11
+ provides = darkradiant
+ conflicts = darkradiant
+ source = DarkRadiant::git+https://github.com/codereader/DarkRadiant.git
+ sha512sums = SKIP
+
+pkgname = darkradiant-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ec56bcdd717
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+pkgname=darkradiant-git
+pkgrel=1
+pkgdesc="Editor for The Dark Mod and Doom 3 (idTech4) based games"
+makedepends=(automake libtool)
+depends=(wxgtk ftgl glew boost boost-libs freealut webkitgtk2 pybind11)
+conflicts=(darkradiant)
+provides=(darkradiant)
+arch=(x86_64)
+pkgver=2.1.0.r559.gb2f5471ea
+source=("DarkRadiant::git+https://github.com/codereader/DarkRadiant.git")
+sha512sums=(SKIP)
+
+pkgver(){
+ cd "$srcdir/DarkRadiant"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+prepare(){
+ cd "$srcdir/DarkRadiant"
+ ./autogen.sh
+ ./configure
+}
+
+build(){
+ cd "$srcdir/DarkRadiant"
+ make
+}
+
+package(){
+ cd "$srcdir/DarkRadiant"
+ make DESTDIR="$pkgdir" install
+}