aboutsummaryrefslogtreecommitdiffstats
path: root/community/vdesk/APKBUILD
blob: 1352649626e826d39bef60d8c6eb25f2cde4559d (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
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=vdesk
pkgver=1.2
pkgrel=0
pkgdesc="vdesk is a virtual desktop manager."
url="http://offog.org/code/vdesk/"
arch="all"
license="MIT"
depends=""
depends_dev=""
makedepends="libx11-dev"
install=""
subpackages=""
source="http://offog.org/files/${pkgname}-${pkgver}.tar.gz"

_builddir=${srcdir}/${pkgname}-${pkgver}
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
     }

build() {
	cd "$_builddir"
        ./configure \
           --build=$CBUILD \
           --host=$CHOST \
           --prefix=/usr || return 1
        make || return 1
     }

package() {
	cd "$_builddir"
        make DESTDIR="$pkgdir" install
}

md5sums="8c434dc188c868f19e57674074489481  vdesk-1.2.tar.gz"
sha256sums="4ac9af40591abcb3a99dea9331933182af7a7c4d0c2eec43be37cf2c21dfa792  vdesk-1.2.tar.gz"
sha512sums="0812c363bf51e4b602f3789f73588a8f6bedc6a8803030a71e7b4cd29945b73e9ce31f917845f448a6b318cf2e51b76f954271b28c3ecf239b86333b5f74aea4  vdesk-1.2.tar.gz"