summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Lindvall2021-05-21 10:16:57 +0200
committerMarius Lindvall2021-05-21 10:16:57 +0200
commit48875763bb19adae8c2308c9445912f5143326dc (patch)
treee14f503fd5be6642a1005458194bb2b248f54425
downloadaur-apertium-urd.tar.gz
Initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD28
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f00db7e31bc
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = apertium-urd
+ pkgdesc = Apertium linguistic data for Urdu
+ pkgver = 0.1.1
+ pkgrel = 1
+ url = https://github.com/apertium/apertium-urd
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = pkgconf
+ makedepends = autoconf
+ depends = apertium>=3.4.2
+ depends = vislcg3
+ source = apertium-urd-0.1.1.tar.gz::https://github.com/apertium/apertium-urd/archive/refs/tags/v0.1.1.tar.gz
+ sha256sums = 06a3f3a171e4bcb83e9a131dfd45d267b4acd6787d5e0c08e355f5aa62a3c285
+
+pkgname = apertium-urd
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..df4d4127bdc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Marius Lindvall <(firstname) {cat} varden {dog} info>
+pkgname=apertium-urd
+pkgver=0.1.1
+pkgrel=1
+pkgdesc="Apertium linguistic data for Urdu"
+url="https://github.com/apertium/${pkgname}"
+license=('GPL3')
+makedepends=('pkgconf' 'autoconf')
+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=('06a3f3a171e4bcb83e9a131dfd45d267b4acd6787d5e0c08e355f5aa62a3c285')
+
+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
+}