summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cbac65e2f279d30f8edbd2a2aa226fa4dd61c2eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Jorge Mokross <mokross@gmail.com>

pkgname=notify-sharp
pkgver=0.4.1
pkgrel=3
pkgdesc="C Sharp D-Bus client library for desktop notifications"
arch=('any')
url="https://www.meebey.net/projects/notify-sharp/"
license=('MIT')
depends=('gtk-sharp-2' 'dbus-sharp-glib') 
source=(https://www.meebey.net/projects/notify-sharp/downloads/$pkgname-$pkgver.tar.gz
        use_dbussharp_2.pc)
sha512sums=('d72b4f5eb23b1e6bd3ab2ebd89eed963dab2212b895a080f0803f59f5746b08194720799e9ce979fa10ad8e01847ee2b379576e6856ffbcf1e0945682c89f407'
            '4164e0e6e2d7c7ac8b28d0d450fec01a8875bde98962c9164527e783286f1ab9167346aa8801503d8d3c4021dbb779240b860432fb04e757a31476584683e210')

prepare() {
  cd $pkgname-$pkgver
  patch -Np1 -i ../use_dbussharp_2.pc
  sed -i 's/gmcs/mcs/' configure{,.ac}
  autoreconf -fi
}

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}