From e43456478be2c6ec5a36bc9e920a3b91fd332163 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 19 Jul 2018 08:01:55 +0000 Subject: testing/goomwwm: misc cleanups - change ${variable} to $variable - proper use of $builddir - let abuild handle runtime dependencies --- testing/goomwwm/APKBUILD | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'testing/goomwwm') diff --git a/testing/goomwwm/APKBUILD b/testing/goomwwm/APKBUILD index b0551a1eb4..4054f2834e 100644 --- a/testing/goomwwm/APKBUILD +++ b/testing/goomwwm/APKBUILD @@ -7,26 +7,24 @@ pkgdesc="Get out of my way, Window Manager!" url="https://github.com/seanpringle/goomwwm" arch="all" license="MIT" -depends="libxft libx11 libxinerama freetype" -makedepends="libx11-dev libxft-dev freetype-dev libxinerama-dev libx11 libxft - pkgconfig xorgproto" -source="${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz" -builddir="$srcdir/" -_builddir="${builddir}/${pkgname}-${pkgver}" +depends="" +makedepends="libx11-dev libxft-dev freetype-dev libxinerama-dev xorgproto" +source="$pkgname-$pkgver.tar.gz::https://github.com/seanpringle/goomwwm/archive/$pkgver.tar.gz" +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "${_builddir}" + cd "$builddir" make proto normal } check() { - cd "${_builddir}" - ./${pkgname} --version + cd "$builddir" + ./goomwwm --version } package() { - mkdir -p "${pkgdir}" - install -m755 -D "${_builddir}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" + mkdir -p "$pkgdir" + install -m755 -D "$builddir"/goomwwm "$pkgdir"/usr/bin/$pkgname } sha512sums="e37d80c8ea47fe136172c392521ec8d4dab361c3469d3d1626ed7c30385513301983c0ffde39f4c2e6f2dee8709da6a34f14f7bb89776f1ccde5103ab1a26764 goomwwm-1.0.0.tar.gz" -- cgit v1.2.3