summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Lindvall2021-05-20 23:41:44 +0200
committerMarius Lindvall2021-05-20 23:41:44 +0200
commit6afde7e7774b155e8df26523b25facd75f94db1a (patch)
treec25d35c6cbce9831f76f1211d6b7585f382c923a
downloadaur-apertium-afr.tar.gz
Initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD30
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c576b6c8c97
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = apertium-afr
+ pkgdesc = Apertium linguistic data for Afrikaans
+ pkgver = 0.2.0
+ pkgrel = 1
+ url = https://github.com/apertium/apertium-afr
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = pkgconf
+ depends = apertium>=3.4.2
+ depends = vislcg3
+ source = apertium-afr-0.2.0.tar.gz::https://github.com/apertium/apertium-afr/releases/download/v0.2.0/apertium-afr-0.2.0.tar.gz
+ sha256sums = df1d903203f4dfa30d5338ce084c1485c9e21675558b4918edaf63f2b2e03d16
+
+pkgname = apertium-afr
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0ead3f0a4fc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Marius Lindvall <(firstname) {cat} varden {dog} info>
+# Maintainer: Kevin Brubeck Unhammer <unhammer@fsfe.org>
+# Contributor: Kevin Brubeck Unhammer <unhammer@fsfe.org>
+pkgname=apertium-afr
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="Apertium linguistic data for Afrikaans"
+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}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('df1d903203f4dfa30d5338ce084c1485c9e21675558b4918edaf63f2b2e03d16')
+
+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
+}