summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMladen Pejaković2015-06-09 00:43:07 +0200
committerMladen Pejaković2015-06-09 00:43:07 +0200
commit7cd8f0385d5e322694db3be3b696637b04f764ff (patch)
tree51248baf5c5340f19bd9f3006c40da0f4f3202a1
downloadaur-7cd8f0385d5e322694db3be3b696637b04f764ff.tar.gz
Initial import
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD33
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b1d12c2ad92
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = hunspell-sr
+ pkgdesc = Serbian Cyrillic and Latin hunspell dictionaries
+ pkgver = 20140313
+ pkgrel = 1
+ url = https://github.com/grakic/hunspell-sr
+ arch = any
+ license = GPL
+ license = LGPL
+ license = MPL
+ license = CC BY-SA 3.0 Unported
+ optdepends = hunspell: the spell checking libraries and apps
+ source = hunspell-sr-20140313.tar.gz::https://github.com/grakic/hunspell-sr/archive/e1ff02b45c8e133a617a1c98cae146299bc0d4de.tar.gz
+ sha1sums = aa2f25f4f1dfcbc9d50d32fe63d07062eaa7054c
+
+pkgname = hunspell-sr
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..96f9da30806
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Mladen Pejaković <pejakm at autistici dot org>
+
+pkgname=hunspell-sr
+pkgver=20140313
+_git=e1ff02b45c8e133a617a1c98cae146299bc0d4de
+pkgrel=1
+pkgdesc="Serbian Cyrillic and Latin hunspell dictionaries"
+arch=(any)
+url="https://github.com/grakic/hunspell-sr"
+license=('GPL' 'LGPL' 'MPL' 'CC BY-SA 3.0 Unported')
+optdepends=('hunspell: the spell checking libraries and apps')
+source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/grakic/hunspell-sr/archive/${_git}.tar.gz")
+sha1sums=('aa2f25f4f1dfcbc9d50d32fe63d07062eaa7054c')
+
+build() {
+ /bin/true
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${_git}"
+ install -dm755 ${pkgdir}/usr/share/hunspell
+ install -m644 sr.aff sr.dic sr-Latn.aff sr-Latn.dic ${pkgdir}/usr/share/hunspell
+
+ # docs
+ install -dm755 ${pkgdir}/usr/share/doc/${pkgname}
+ install -m644 README*.txt ${pkgdir}/usr/share/doc/${pkgname}
+
+ # licenses
+ install -D -m644 README.txt ${pkgdir}/usr/share/licenses/${pkgname}/Copyright
+ install -D -m644 README_sr.txt ${pkgdir}/usr/share/licenses/${pkgname}/Copyright_sr
+ install -D -m644 README-sr-Latn.txt ${pkgdir}/usr/share/licenses/${pkgname}/Copyright_sr-Latn
+} \ No newline at end of file