blob: 650757e4acc414baeb6950b98e4a76ca8e3a709c (
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
|
# Contributor: zoulnix <z[o]ulnix.borkedduck.c[o]m>
pkgname=tint2-svn
pkgver=78
pkgrel=1
pkgdesc="A basic, good-looking task manager for WMs."
arch=('i686' 'x86_64')
url="http://code.google.com/p/tint2/"
license=('GPL')
depends=('libxinerama' 'libxrandr' 'pango' 'imlib2')
makedepends=('gcc' 'make' 'pkgconfig' 'subversion')
provides=('tint2')
conflicts=('tint2' 'tint' 'ttm')
source=()
md5sums=('')
_svnmod="tint2"
_svntrunk="http://tint2.googlecode.com/svn/trunk"
build() {
cd ${srcdir}
#####
msg "Getting sources..."
if [ -d ${_svnmod}/.svn ]; then
(cd ${_svnmod} && svn up -r ${pkgver})
else
svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
cd ${_svnmod}
fi
msg "SVN checkout done or server timeout"
msg "Starting make..."
#####
cd ${srcdir}/${_svnmod}/src
sed -i -e 's:CFLAGS= -O2::' Makefile || return 1
make clean || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
}
|