diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-04-07 00:46:34 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-04-07 00:46:34 -0400 |
commit | 619b8d955269f2fe74386e98fac07675c8b55352 (patch) | |
tree | f3e2610a39c99a7e43bc2b345280b04e398b986a /pcr/mini18n-git | |
parent | 2b04539ac9310541a4e563460aed0cb7715770d2 (diff) | |
parent | 7d4e98b2d6f2fd4d42ebb55105bab8a05e34ab94 (diff) | |
download | abslibre-619b8d955269f2fe74386e98fac07675c8b55352.tar.gz abslibre-619b8d955269f2fe74386e98fac07675c8b55352.tar.bz2 abslibre-619b8d955269f2fe74386e98fac07675c8b55352.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/mini18n-git')
-rw-r--r-- | pcr/mini18n-git/PKGBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/pcr/mini18n-git/PKGBUILD b/pcr/mini18n-git/PKGBUILD new file mode 100644 index 000000000..c55db7b7d --- /dev/null +++ b/pcr/mini18n-git/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Gustavo alvarez <sl1pkn07@gmail.com> + +pkgname=mini18n-git +pkgver=20130213 +pkgrel=1 +pkgdesc="A a small and non-intrusive translation library designed for small memory and non-GNU systems. (GIT version)" +arch=('x86_64' 'i686') +url="http://wiki.yabause.org/index.php5?title=Mini18n" +license=('GPL') +makedepends=('git' 'cmake') +conficts=('mini18n') +provides=('mini18n') + +_gitroot="git://github.com/Guillaumito/yabause.git" +_gitname="mini18n" + +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 --depth=1 "${_gitroot}" "${_gitname}" + fi + + msg "GIT checkout done or server timeout" + msg "Starting build..." + + rm -rf "${srcdir}/${_gitname}-build" + cp -R "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build" + cd "${srcdir}/${_gitname}-build/${_gitname}" + + cmake . -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "${srcdir}/${_gitname}-build/${_gitname}" + make DESTDIR="${pkgdir}/" install +} + |