summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bea668c2456
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: HER0_01 <aconrad103 at gmail.com>
+
+pkgname=hdx-512-git
+pkgver=74.35e493e
+pkgrel=1
+pkgdesc="High Definition Expansion photorealistic, comprehensive texture pack for Minetest"
+arch=('any')
+url="https://forum.minetest.net/viewtopic.php?id=1583"
+license=('GFDL')
+depends=('minetest')
+makedepends=('git')
+optdepends=('hdx-normalmaps-512: matching high resolution normal maps')
+provides=('hdx-512')
+source=("$pkgname::git://github.com/VanessaE/hdx-512.git")
+md5sums=('SKIP')
+
+PKGEXT=.pkg.tar
+
+pkgver() {
+ cd "$srcdir/$pkgname"
+ echo $(git rev-list --count master).$(git rev-parse --short master)
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ mkdir -p "$pkgdir/usr/share/minetest/textures/$pkgname"
+ install * "$pkgdir/usr/share/minetest/textures/$pkgname"
+}