# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>
pkgname=startup-notification
pkgver=0.12
pkgrel=8
pkgdesc='Libary to monitor and display application startup'
arch=('armv7h' 'aarch64')
url='https://www.freedesktop.org/wiki/Software/startup-notification/'
license=('LGPL-2.0-or-later')
depends=('glibc' 'libx11' 'libxcb' 'xcb-util')
source=("https://www.freedesktop.org/software/startup-notification/releases/$pkgname-$pkgver.tar.gz")
sha256sums=('3c391f7e930c583095045cd2d10eb73a64f085c7fde9d260f2652c7cb3cfbe4a')
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --build=$CHOST --host=$CHOST
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}