[arch-commits] Commit in startup-notification/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sat May 16 12:01:52 UTC 2020


    Date: Saturday, May 16, 2020 @ 12:01:52
  Author: felixonmars
Revision: 384411

archrelease: copy trunk to staging-x86_64

Added:
  startup-notification/repos/staging-x86_64/
  startup-notification/repos/staging-x86_64/PKGBUILD
    (from rev 384410, startup-notification/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: startup-notification/repos/staging-x86_64/PKGBUILD (from rev 384410, startup-notification/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 12:01:52 UTC (rev 384411)
@@ -0,0 +1,31 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: dorphell <dorphell at archlinux.org>
+
+pkgname=startup-notification
+pkgver=0.12
+pkgrel=7
+pkgdesc="Monitor and display application startup"
+arch=(x86_64)
+license=('LGPL')
+depends=('libx11' 'xcb-util')
+url="https://www.freedesktop.org"
+source=(https://www.freedesktop.org/software/startup-notification/releases/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('3c391f7e930c583095045cd2d10eb73a64f085c7fde9d260f2652c7cb3cfbe4a')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  sed -i -e '/AC_PATH_XTRA/d' configure.in
+  autoreconf --force --install
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}


More information about the arch-commits mailing list