summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/startup-notification/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/user/startup-notification/APKBUILD b/user/startup-notification/APKBUILD
new file mode 100644
index 000000000..a52e6b549
--- /dev/null
+++ b/user/startup-notification/APKBUILD
@@ -0,0 +1,41 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=startup-notification
+pkgver=0.12
+pkgrel=4
+pkgdesc="Application startup notification protocol"
+url="https://www.freedesktop.org/wiki/Software/startup-notification/"
+arch="all"
+license="X11"
+subpackages="$pkgname-dev"
+depends=""
+depends_dev="libsm-dev xcb-util-dev"
+makedepends="libsm-dev libx11-dev xcb-util-dev"
+source="https://www.freedesktop.org/software/$pkgname/releases/$pkgname-$pkgver.tar.gz"
+
+prepare() {
+ cd "$builddir"
+ update_config_sub
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --localstatedir=/var \
+ --sysconfdir=/etc
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="ea1246acdb50dafd9ced9914ec3c8f0d499c0ca3cfd447b43a444c768a6e9ea7135e5c42d9ca0089354698ac235bd86d42f12c70a3a17c9c79f998c07461f7ab startup-notification-0.12.tar.gz"