diff options
author | Piotr Balwierz | 2015-07-06 18:13:12 +0100 |
---|---|---|
committer | Piotr Balwierz | 2015-07-06 18:13:12 +0100 |
commit | 4f504fca3ca42657241c0dac2fe7191a9a129372 (patch) | |
tree | 4a8e77c94b327917549b645c23d5fc3d9c76c9f8 | |
download | aur-4f504fca3ca42657241c0dac2fe7191a9a129372.tar.gz |
Initial import
-rw-r--r-- | .AURINFO | 17 | ||||
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 36 | ||||
-rw-r--r-- | kanatest.install | 18 |
4 files changed, 88 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO new file mode 100644 index 000000000000..0875fdc2a11c --- /dev/null +++ b/.AURINFO @@ -0,0 +1,17 @@ +pkgbase = kanatest + pkgdesc = A simple Hiragana and Katakana drill tool + pkgver = 0.4.10 + pkgrel = 2 + url = http://www.clayo.org/kanatest/ + install = kanatest.install + arch = i686 + arch = x86_64 + license = GPL + depends = gtk2 + depends = libxml2 + optdepends = ttf-freefont: for using FreeSerif or FreeSans fonts + optdepends = ttf-arphic-uming: for using AR PL ShanHeiSun Uni font + optdepends = ttf-arphic-ukai: for using AR PL ZenKai Uni font + +pkgname = kanatest + diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0875fdc2a11c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = kanatest + pkgdesc = A simple Hiragana and Katakana drill tool + pkgver = 0.4.10 + pkgrel = 2 + url = http://www.clayo.org/kanatest/ + install = kanatest.install + arch = i686 + arch = x86_64 + license = GPL + depends = gtk2 + depends = libxml2 + optdepends = ttf-freefont: for using FreeSerif or FreeSans fonts + optdepends = ttf-arphic-uming: for using AR PL ShanHeiSun Uni font + optdepends = ttf-arphic-ukai: for using AR PL ZenKai Uni font + +pkgname = kanatest + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..869cebfa4774 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Contributor: Bjorn Lindeijer <bjorn lindeijer nl> +# Contributor: Frédéric Mangano <fmang+aur mg0 fr> +pkgname=kanatest +pkgver=0.4.10 +pkgrel=2 +pkgdesc="A simple Hiragana and Katakana drill tool" +arch=('i686' 'x86_64') +url="http://www.clayo.org/kanatest/" +license=('GPL') +depends=('gtk2' 'libxml2') +optdepends=('ttf-freefont: for using FreeSerif or FreeSans fonts' + 'ttf-arphic-uming: for using AR PL ShanHeiSun Uni font' + 'ttf-arphic-ukai: for using AR PL ZenKai Uni font') +install='kanatest.install' + +_trunk=http://svn.gna.org/svn/kanatest/trunk +_rev=88 + +build() { + cd "${srcdir}" + svn co "${_trunk}"@$_rev kanatest + + rm -rf build + cp -r kanatest build + cd build + + sed -i configure.ac -e 's/-Werror//' + sh autogen.sh + ./configure --prefix=/usr || return 1 + make || return 1 +} + +package() { + cd "${srcdir}/build" + make DESTDIR="${pkgdir}" install || return 1 +} diff --git a/kanatest.install b/kanatest.install new file mode 100644 index 000000000000..b822132ceed6 --- /dev/null +++ b/kanatest.install @@ -0,0 +1,18 @@ +post_install() { + cat << EOF +> If you get garbage instead of kana characters, then go to preferences and select +> a Japanese friendly font, for example: +> +> - FreeSerif or FreeSans (package: ttf-freefont) +> - AR PL ShanHeiSun Uni (package: ttf-arphic-uming) +> - AR PL ZenKai Uni (package: ttf-arphic-ukai) +EOF +} + +post_upgrade() { + post_install +} + +op=$1 +shift +$op $* |