diff options
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ebc5c668214c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = apertium-rus + pkgdesc = Apertium linguistic data for Russian + pkgver = 0.2.1 + pkgrel = 1 + url = https://github.com/apertium/apertium-rus + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = pkgconf + makedepends = autoconf + depends = apertium>=3.4.2 + depends = vislcg3 + source = apertium-rus-0.2.1.tar.gz::https://github.com/apertium/apertium-rus/archive/refs/tags/v0.2.1.tar.gz + sha256sums = 4c5482e9e7577d9968eaa5ce9b4c63c72168ca123062f6cf1525272d02fe85da + +pkgname = apertium-rus + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1edb0a51ac91 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Marius Lindvall <(firstname) {cat} varden {dog} info> +pkgname=apertium-rus +pkgver=0.2.1 +pkgrel=1 +pkgdesc="Apertium linguistic data for Russian" +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=('4c5482e9e7577d9968eaa5ce9b4c63c72168ca123062f6cf1525272d02fe85da') + +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 +} |