diff options
author | Piotr Balwierz | 2017-11-06 19:45:09 +0000 |
---|---|---|
committer | Piotr Balwierz | 2017-11-06 19:45:09 +0000 |
commit | 708684c0f57c89cffe4d5a9c90a5d3e9b74b7b48 (patch) | |
tree | 554a70b5d7e5c6e77695bbb505779204bddd67ef | |
parent | f8d2a535b74cf11d59b7e7ca9f33d28f04e7f19b (diff) | |
download | aur-708684c0f57c89cffe4d5a9c90a5d3e9b74b7b48.tar.gz |
Updated git
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 13 insertions, 22 deletions
@@ -1,7 +1,7 @@ pkgbase = kanatest pkgdesc = A simple Hiragana and Katakana drill tool - pkgver = 20150706.4f504fc - pkgrel = 1 + pkgver = 20170810.19dd1a7 + pkgrel = 2 url = http://www.clayo.org/kanatest/ install = kanatest.install arch = i686 @@ -12,6 +12,8 @@ pkgbase = kanatest 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 + source = git+https://git.code.sf.net/p/kanatest/code + sha256sums = SKIP pkgname = kanatest @@ -1,8 +1,9 @@ +# Maintainer: Piotr Balwierz <my_surname at Google's webmail> # Contributor: Bjorn Lindeijer <bjorn lindeijer nl> # Contributor: Frédéric Mangano <fmang+aur mg0 fr> pkgname=kanatest -pkgver=20150706.4f504fc -pkgrel=1 +pkgver=20170810.19dd1a7 +pkgrel=2 pkgdesc="A simple Hiragana and Katakana drill tool" arch=('i686' 'x86_64') url="http://www.clayo.org/kanatest/" @@ -12,33 +13,21 @@ 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' +#_gitname=kanatest-code -_gitroot="https://git.code.sf.net/p/kanatest/code" -_gitname=kanatest-code - +source=("git+https://git.code.sf.net/p/kanatest/code") +sha256sums=("SKIP") pkgver() { - cd "${srcdir}/${_pkgname}" + cd "code" git log -1 --format='%cd.%h' --date=short | tr -d - } build() { cd "${srcdir}" - msg "Connecting to GIT server...." - if [ -d ${_gitname} ] ; then - cd ${_gitname} && git pull origin - msg "The local files are updated." - else - git clone ${_gitroot} ${_gitname} - fi - - msg "GIT checkout done or server timeout" - msg "Starting make..." - rm -rf build - mv "${_gitname}" build - cd build + cd code sed -i configure.ac -e 's/-Werror//' sh autogen.sh @@ -47,6 +36,6 @@ build() { } package() { - cd "${srcdir}/build" + cd "${srcdir}/code" make DESTDIR="${pkgdir}" install || return 1 } |