diff options
-rw-r--r-- | community/vdesk/APKBUILD | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/community/vdesk/APKBUILD b/community/vdesk/APKBUILD index 1352649626..acdbde596b 100644 --- a/community/vdesk/APKBUILD +++ b/community/vdesk/APKBUILD @@ -7,35 +7,22 @@ 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 - } +builddir=${srcdir}/${pkgname}-${pkgver} build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ - --prefix=/usr || return 1 - make || return 1 + --prefix=/usr + make } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install } |