summaryrefslogtreecommitdiff
path: root/pcr/libsquish-svn/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/libsquish-svn/PKGBUILD')
-rw-r--r--pcr/libsquish-svn/PKGBUILD15
1 files changed, 5 insertions, 10 deletions
diff --git a/pcr/libsquish-svn/PKGBUILD b/pcr/libsquish-svn/PKGBUILD
index c7b834b24..17af64a96 100644
--- a/pcr/libsquish-svn/PKGBUILD
+++ b/pcr/libsquish-svn/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: F0ruD<fzerorubigd{AT}gmail{DOT}com>
pkgname=libsquish-svn
pkgver=48
-pkgrel=4
+pkgrel=5
pkgdesc="DXT compression library - svn build"
arch=('i686' 'x86_64')
url="http://code.google.com/p/libsquish"
@@ -23,18 +23,13 @@ build() {
package() {
cd "$srcdir/$pkgname-$pkgver"
- #make install # it ignores DESTDIR, so it wound't work
- mkdir -p $pkgdir/usr/{include,lib}
+ # make install
+ mkdir -p $pkgdir/usr/local/{include,lib}
- install -Dm 644 squish.h $pkgdir/usr/include/squish.h
- install -Dm 644 libsquish.so.0.0 $pkgdir/usr/lib/libsquish.so.0.0
+ install -Dm 644 squish.h $pkgdir/usr/local/include/squish.h
+ install -Dm 644 libsquish.so.0.0 $pkgdir/usr/local/lib/libsquish.so.0.0
install -Dm 644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
-# prepare() {
-# cd "$srcdir/$pkgname-$pkgver"
-# sed -i "s|/usr/local|${pkgdir}/usr|g" config
-# }
-
sha256sums=('d1c057bf105872f50f504584fd7b31fb980ed5e235b14a92c6cb0aa7d7758e8f'
'ed13029728a637f599833a68be22f3cc356a7f13be8d79284b2c415e172efd75')