summaryrefslogtreecommitdiff
path: root/pcr/libsquish-svn/PKGBUILD
blob: 807100ea14c154c523dfd143328bba98ffa9cf74 (plain)
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
# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com>
# Contributor (Arch): F0ruD<fzerorubigd{AT}gmail{DOT}com>
pkgname=libsquish-svn
pkgver=48
pkgrel=5
pkgdesc="DXT compression library - svn build"
arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/libsquish"
makedepends=('subversion' )
license=('MIT')
provides=('libsquish')
conflicts=('libsquish' 'kervalasquish-hg' 'kervala_libsquish-hg')
mksource=("$pkgname-$pkgver"::svn+http://libsquish.googlecode.com/svn/trunk/#revision=$pkgver)
mkmd5sums=('SKIP')

source=("libre://$pkgname-$pkgver.tar.gz"
  LICENSE)

build() {
  cd "$srcdir/$pkgname-$pkgver"
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  # make install
  mkdir -p $pkgdir/usr/local/{include,lib}
  
  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
}

sha256sums=('d1c057bf105872f50f504584fd7b31fb980ed5e235b14a92c6cb0aa7d7758e8f'
            'ed13029728a637f599833a68be22f3cc356a7f13be8d79284b2c415e172efd75')