diff options
author | Shackra Sislock <none@none> | 2012-07-26 01:03:45 -0600 |
---|---|---|
committer | Shackra Sislock <none@none> | 2012-07-26 01:03:45 -0600 |
commit | 8f4802b2d269869354619e783ec9be78f18c5c8a (patch) | |
tree | 7873801714907fd31c1ab5e558043c865595bf72 /pcr/kervala_libsquish | |
parent | dda5c8f94faac28a09ce78edd9999d1b022d24b6 (diff) |
moving kervala_libsquish to kervalasquish and adding the common.cmake CMake module, see http://dev.ryzom.com/issues/1485#note-5
--HG--
rename : pcr/kervala_libsquish/PKGBUILD => pcr/kervalasquish-hg/PKGBUILD
Diffstat (limited to 'pcr/kervala_libsquish')
-rw-r--r-- | pcr/kervala_libsquish/PKGBUILD | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/pcr/kervala_libsquish/PKGBUILD b/pcr/kervala_libsquish/PKGBUILD deleted file mode 100644 index 033dd19ec..000000000 --- a/pcr/kervala_libsquish/PKGBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Maintainer: Jorge Araya <jorgean@lavabit.com> - -pkgname=kervala_libsquish-hg -pkgver=220 -pkgrel=1 -pkgdesc="Open source 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" - install -d -m 755 ${pkgdir}/usr/include - install -d -m 755 ${pkgdir}/usr/lib - make -e INSTALL_DIR="$pkgdir/usr/" install -} - -# vim:set ts=2 sw=2 et: |