summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorabsrdspc2019-01-12 03:56:00 +0300
committerabsrdspc2019-01-12 03:56:00 +0300
commit2f3ca4d21f314dde799060d116a6b16b6d1f91d1 (patch)
tree7279a3591fbc50b8535c2794835be68c573a542b
downloadaur-2f3ca4d21f314dde799060d116a6b16b6d1f91d1.tar.gz
release 1.0
-rw-r--r--.SRCINFO18
-rw-r--r--.gitignore0
-rw-r--r--PKGBUILD24
-rwxr-xr-xphgen-bin3
4 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d7e28f21438
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = phgen
+ pkgdesc = Pattern-based random phrase generation using WordNet
+ pkgver = 1.0
+ pkgrel = 1
+ url = https://github.com/AbsurdlySuspicious/PhraseGen
+ arch = x86_64
+ arch = i686
+ license = Apache
+ depends = java-environment
+ provides = phgen
+ conflicts = phgen-git
+ source = phgen-bin
+ source = https://github.com/AbsurdlySuspicious/PhraseGen/releases/download/1.0/phgen-1.0.jar
+ sha256sums = 29cecf4462abc2d92cf0153af8892902c8768d582f14c659715b5a0dfba5a6e4
+ sha256sums = 52794e20c21f7e5efa559e0576db01bdeab4cf7e4449261418b2f220ab4a42e3
+
+pkgname = phgen
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/.gitignore
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f83f1d989df
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: absrdspc <repom2[at]airmail[dot]cc>
+
+pkgname=phgen
+pkgver=1.0
+pkgrel=1
+pkgdesc="Pattern-based random phrase generation using WordNet"
+arch=('x86_64' 'i686')
+url="https://github.com/AbsurdlySuspicious/PhraseGen"
+license=('Apache')
+depends=('java-environment')
+provides=('phgen')
+conflicts=('phgen-git')
+
+source=("phgen-bin"
+ "https://github.com/AbsurdlySuspicious/PhraseGen/releases/download/1.0/phgen-1.0.jar")
+
+sha256sums=('29cecf4462abc2d92cf0153af8892902c8768d582f14c659715b5a0dfba5a6e4'
+ '52794e20c21f7e5efa559e0576db01bdeab4cf7e4449261418b2f220ab4a42e3')
+
+package() {
+ install -Dm755 -T "$srcdir/phgen-bin" "$pkgdir/usr/bin/phgen"
+ install -Dm644 -T "$srcdir/phgen-$pkgver.jar" "$pkgdir/usr/share/java/phgen/phgen.jar"
+}
+
diff --git a/phgen-bin b/phgen-bin
new file mode 100755
index 00000000000..4acad220280
--- /dev/null
+++ b/phgen-bin
@@ -0,0 +1,3 @@
+#!/bin/sh
+java -jar "/usr/share/java/phgen/phgen.jar" "$@"
+