summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMarius Lindvall2021-05-21 00:37:09 +0200
committerMarius Lindvall2021-05-21 00:37:09 +0200
commitccdebc361f5c1ad8b9f7cb84a8fc78980f19f1b9 (patch)
tree3cc4fcd2f9e637ed60f6e3314fce67bad9e08592 /PKGBUILD
downloadaur-apertium-hin.tar.gz
Initial commit
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..8706d446bee
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Marius Lindvall <(firstname) {cat} varden {dog} info>
+pkgname=apertium-hin
+pkgver=0.1.0
+pkgrel=1
+pkgdesc="Apertium linguistic data for Hindi"
+url="https://github.com/apertium/${pkgname}"
+license=('GPL3')
+makedepends=('pkgconf')
+depends=('apertium>=3.4.2' 'vislcg3')
+arch=('i686' 'x86_64')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/apertium/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
+sha256sums=('6385fe2785fc1179d3fab94778a99b543d7f50c4f1749c10e86af8723ce56d75')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./autogen.sh --prefix=/usr
+ make
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make check
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}