From 73553791b91522a89585ac8fd3c0fbc6a48e95f5 Mon Sep 17 00:00:00 2001 From: Shackra Sislock Date: Fri, 20 Jul 2012 20:34:51 -0600 Subject: Adding kervala_libsquish and minetest --- pcr/kervala_libsquish-hg/PKGBUILD | 46 --------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 pcr/kervala_libsquish-hg/PKGBUILD (limited to 'pcr') diff --git a/pcr/kervala_libsquish-hg/PKGBUILD b/pcr/kervala_libsquish-hg/PKGBUILD deleted file mode 100644 index f75e1aba7..000000000 --- a/pcr/kervala_libsquish-hg/PKGBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Maintainer: Jorge Araya - -pkgname=kervala_libsquish-hg -pkgver=220 -pkgrel=1 -pkgdesc="Free Software DXT compression library, kervala's version" -arch=('i686' 'x86_64') -url="http://code.google.com/p/libsquish/" -license=('MIT') -makedepends=('mercurial' 'gcc-libs') -provides=('libsquish') -conflicts=('libsquish') -source=() - -_hgroot="http://hg.kervala.net" -_hgrepo="packaging" - -build() { - cd "$srcdir" - msg "Connecting to Mercurial server...." - - if [[ -d "$_hgrepo" ]]; then - cd "$_hgrepo" - hg pull -u - msg "The local files are updated." - else - hg clone "${_hgroot}/${_hgrepo}" - fi - - msg "Mercurial checkout done or server timeout" - msg "Starting build..." - - rm -rf "$srcdir/$_hgrepo-build" - cp -r "$srcdir/$_hgrepo" "$srcdir/$_hgrepo-build" - cd "$srcdir/$_hgrepo-build/squish" - make -} - -package() { - cd "$srcdir/$_hgrepo-build/squish" - mkdir -p ${pkgdir}/usr/local/include - mkdir -p ${pkgdir}/usr/local/lib - make -e INSTALL_DIR="$pkgdir/usr/local" install -} - -# vim:set ts=2 sw=2 et: -- cgit v1.2.3