summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD25
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..042dfdc628e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = tr-patcher
+ pkgdesc = A tool to patch Morrowind plugins that target old versions of Tamriel Rebuilt
+ pkgver = 1.0.3
+ pkgrel = 1
+ url = https://gitlab.com/bmwinger/tr-patcher
+ arch = any
+ license = GPL3
+ makedepends = gradle
+ depends = java-runtime
+ provides = tr-patcher
+ conflicts = tr-patcher
+ source = https://gitlab.com/bmwinger/tr-patcher/-/archive/v1.0.3/tr-patcher-v1.0.3.tar.gz
+ sha512sums = dd04ce39f11f48b635d4d730c330c07d1acc25185c5ac1e07df87bb8d3290fcdf2d6df9aed774ec5260fbc7f42c22fe42b286203be5b237028f26bab4f6029f9
+
+pkgname = tr-patcher
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1fa04ca9d09
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Benjamin Winger <bmw@disroot.org>
+
+pkgname=tr-patcher
+pkgver=1.0.3
+pkgrel=1
+pkgdesc="A tool to patch Morrowind plugins that target old versions of Tamriel Rebuilt"
+provides=('tr-patcher')
+conflicts=('tr-patcher')
+arch=(any)
+url="https://gitlab.com/bmwinger/tr-patcher"
+license=(GPL3)
+depends=('java-runtime')
+makedepends=('gradle')
+source=("https://gitlab.com/bmwinger/$pkgname/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
+sha512sums=('dd04ce39f11f48b635d4d730c330c07d1acc25185c5ac1e07df87bb8d3290fcdf2d6df9aed774ec5260fbc7f42c22fe42b286203be5b237028f26bab4f6029f9')
+
+build() {
+ cd $pkgname-v$pkgver
+ TERM=xterm gradle build
+}
+
+package() {
+ cd $pkgname-v$pkgver
+ ./install.sh $pkgdir/usr
+}