blob: d4ba0100e6e629b7ced160f61824d67442cf5dde (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Maintainer (AUR): Samuel Mesa <samuelmesa@linuxmail.org>
# Contributor (AUR): F0ruD<fzerorubigd{AT}gmail{DOT}com>
# Contributor: Jorge Araya Navarro <jorgean@lavabit.com>
# parabola changes and rationale:
# - removed -j from make call
pkgname=libsquish-svn
pkgver=106
pkgrel=1
pkgdesc="DXT compression library - svn build"
arch=('i686' 'x86_64')
url="http://libsquish.sourceforge.net"
makedepends=('subversion' 'cmake')
license=('MIT')
provides=('libsquish')
conflicts=('libsquish')
source=("${pkgname}::svn+http://svn.code.sf.net/p/libsquish/code/trunk")
md5sums=('SKIP')
pkgver() {
svnversion "${SRCDEST}/${pkgname}" | tr -d [A-z]
}
build() {
cd "${pkgname}"
#Build
if [[ -d "build" ]]; then
(rm -rf build)
fi
mkdir build
cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_MINI_SFX=ON \
-DBUILD_MINI_EXAMPLE=ON \
-DBUILD_MINI_TOOLS=OFF \
-DBUILD_MINI_VIEWER=OFF \
-DBUILD_MINI_WITH_OPENTHREADS=OFF \
make #-j5
}
package() {
cd ${pkgname}/build
make DESTDIR=${pkgdir} install || return 1
}
|