summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Lindvall2021-05-21 12:42:27 +0200
committerMarius Lindvall2021-05-21 12:42:27 +0200
commit0d50c31a47241702bf31d8afe23f59988ab9a3ee (patch)
tree34044fd3e00e1f143e0334caf21d4d98fb8fe6cf
parent963fe79e846e7a7e40cdcf6b4f4c2b8e47c3ad3b (diff)
downloadaur-0d50c31a47241702bf31d8afe23f59988ab9a3ee.tar.gz
Initial commit
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD49
2 files changed, 34 insertions, 40 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1d8152c1fc3..97b411076fa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,17 @@
pkgbase = apertium-eo-es
- pkgdesc = Apertium language data for the Esperanto-Spanish translator.
- pkgver = 1.0.0
- pkgrel = 2
- url = http://apertium.org
+ pkgdesc = Apertium translation pair for Esperanto and Spanish
+ pkgver = 0.9.2
+ pkgrel = 1
+ url = https://github.com/apertium/apertium-eo-es
arch = i686
arch = x86_64
- license = GPL
- makedepends = pkgconfig
- depends = lttoolbox>=3.0
- depends = apertium>=3.0
- source = http://downloads.sourceforge.net/sourceforge/apertium/apertium-eo-es-1.0.0.tar.gz
- source = Makefile.am.patch
- source = configure.ac.patch
- md5sums = 92db1e1e1cae12b93f300dbb1f1138c0
- md5sums = d543d8d7c17fedd791b38a1694defdb3
- md5sums = d9c2eeea53f85b61b8a225310cca9cd7
+ license = GPL2
+ makedepends = pkgconf
+ makedepends = autoconf
+ depends = apertium>=3.4.2
+ depends = vislcg3
+ source = apertium-eo-es-0.9.2.tar.gz::https://github.com/apertium/apertium-eo-es/archive/refs/tags/v0.9.2.tar.gz
+ sha256sums = 24de8b61f8ed288a3384dedfe5c1914275e5c30f28f53354b0e2d627502dc0ca
pkgname = apertium-eo-es
diff --git a/PKGBUILD b/PKGBUILD
index e01fa7fcb0d..8a453aea3a1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,29 @@
-# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com>
-# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com>
+# Maintainer: Marius Lindvall <(firstname) {cat} varden {dog} info>
+# Contributor: Kevin Brubeck Unhammer <unhammer@fsfe.org>
pkgname=apertium-eo-es
-pkgver=1.0.0
-pkgrel=2
-pkgdesc="Apertium language data for the Esperanto-Spanish translator."
-url="http://apertium.org"
-license=('GPL')
-makedepends=('pkgconfig')
-depends=('lttoolbox>=3.0' 'apertium>=3.0')
+pkgver=0.9.2
+pkgrel=1
+pkgdesc="Apertium translation pair for Esperanto and Spanish"
+url="https://github.com/apertium/${pkgname}"
+license=('GPL2')
+makedepends=('pkgconf' 'autoconf')
+depends=('apertium>=3.4.2' 'vislcg3')
arch=('i686' 'x86_64')
-source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz"
- "Makefile.am.patch"
- "configure.ac.patch")
-md5sums=('92db1e1e1cae12b93f300dbb1f1138c0'
- 'd543d8d7c17fedd791b38a1694defdb3'
- 'd9c2eeea53f85b61b8a225310cca9cd7')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/apertium/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
+sha256sums=('24de8b61f8ed288a3384dedfe5c1914275e5c30f28f53354b0e2d627502dc0ca')
build() {
- patch -p0 < Makefile.am.patch
- patch -p0 < configure.ac.patch
+ cd "$srcdir/$pkgname-$pkgver"
+ ./autogen.sh --prefix=/usr
+ make
+}
- mkdir -p "$pkgdir/usr/share/apertium/modes"
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make check
+}
- cd "$srcdir/$pkgname-$pkgver"
-
- autoreconf -i
-
- ./configure --prefix=/usr
- make || return 1
- make DESTDIR="$pkgdir/" install || return 1
-} \ No newline at end of file
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}