summaryrefslogtreecommitdiff
path: root/user/tint2/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-12 01:39:54 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-12 01:39:54 +0000
commit5d4e2c0456662aa1f74d1a2c41b1bfb567f56d7d (patch)
tree2b8febb001be429260957e56ae975964774f4aeb /user/tint2/APKBUILD
parent750ede08c898240f8c8c9e74277ca1580b3f10f3 (diff)
downloadpackages-5d4e2c0456662aa1f74d1a2c41b1bfb567f56d7d.tar.gz
packages-5d4e2c0456662aa1f74d1a2c41b1bfb567f56d7d.tar.bz2
packages-5d4e2c0456662aa1f74d1a2c41b1bfb567f56d7d.tar.xz
packages-5d4e2c0456662aa1f74d1a2c41b1bfb567f56d7d.zip
user/*: Modernise / fix syntax / metadata / deps
Diffstat (limited to 'user/tint2/APKBUILD')
-rw-r--r--user/tint2/APKBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/user/tint2/APKBUILD b/user/tint2/APKBUILD
index 5650d304f..ebc94463f 100644
--- a/user/tint2/APKBUILD
+++ b/user/tint2/APKBUILD
@@ -8,8 +8,8 @@ pkgrel=0
pkgdesc="Simple, unintrusive panel/taskbar"
url="https://gitlab.com/o9000/tint2"
arch="all"
-license="GPL-2.0-only AND GPL-2.0+ AND MIT AND Custom:zlib-optional-acknowledgement"
options="!check" # No test suite.
+license="GPL-2.0-only AND GPL-2.0+ AND MIT AND Custom:zlib-optional-acknowledgement"
depends=""
makedepends="cmake imlib2-dev glib-dev pango-dev cairo-dev
libxcomposite-dev libxdamage-dev libxinerama-dev libxrandr-dev
@@ -19,11 +19,10 @@ source="$pkgname-$pkgver.tar.bz2::https://gitlab.com/o9000/$pkgname/repository/v
prepare() {
mv "$srcdir/$pkgname-v$pkgver"-* "$builddir"
- mkdir "$builddir"/build
+ default_prepare
}
build() {
- cd "$builddir"/build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
@@ -31,13 +30,12 @@ build() {
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
- ..
- make
+ -Bbuild
+ make -C build
}
package() {
- cd "$builddir"/build
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" -C build install
}
sha512sums="bd5cc461199d38028b81d84f30e896e658274e166e344f4bc98bc6e43c4e25790bc80a7d4aac48d4e9e8284137fd31e4019f0c1b956149222e67a66b42379f1d tint2-16.7.tar.bz2"