public
anonymous / PKGBUILD
Created

AUR libquvi-scripts-git

  • Download Gist
PKGBUILD
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
# Contributor: N30N <archlinux@alunamation.com>
 
pkgname="libquvi-scripts-git"
pkgver=20120523
pkgrel=1
pkgdesc="embedded lua scripts for libquvi"
arch=("i686" "x86_64")
url="http://quvi.sourceforge.net/"
license=("LGPLv2.1+")
makedepends=("git")
provides=("libquvi-scripts")
conflicts=("libquvi-scripts")
 
_gitroot="git://repo.or.cz/libquvi-scripts.git"
_gitname=libquvi-scripts
 
build() {
if [ -d "${_gitname}" ]; then
cd "${_gitname}"
git clean -dfx
git reset --hard
git pull origin
else
git clone "${_gitroot}"
cd "${_gitname}"
fi
 
sh autogen.sh
./configure --prefix=/usr --with-nsfw
make
}
 
package() {
cd "${_gitname}"
make DESTDIR="${pkgdir}" install
install -Dm664 COPYING "${pkgdir}/usr/share/license/${_gitname}/license"
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.