diff options
author | Balló György | 2019-03-30 01:00:47 +0100 |
---|---|---|
committer | Balló György | 2019-03-30 01:00:47 +0100 |
commit | 964efce2e25f896449f6da844765ae12a76aaadb (patch) | |
tree | 171f47578c04325ce7686a552be906372a58acd8 /PKGBUILD | |
download | aur-964efce2e25f896449f6da844765ae12a76aaadb.tar.gz |
Removed from [community].
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9f4297a90960 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Contributor: Daniel Isenmann <daniel@archlinux.org> + +pkgname=gio-sharp +pkgver=0.3 +pkgrel=3 +pkgdesc="Mono bindings to Glib's libgio" +arch=('any') +url="https://github.com/mono/gio-sharp" +license=('MIT') +depends=('gtk-sharp-2') +source=($pkgname-$pkgver.tar.gz::https://github.com/mono/$pkgname/archive/$pkgver.tar.gz) +sha256sums=('25142dd9f2cfa984acf10a579fb771612f46ae4c089b65e059d72a403a2fc1d5') + +prepare() { + cd $pkgname-$pkgver + sed -i 's/CSC, gmcs/CSC, mcs/' configure.ac.in + NOCONFIGURE=1 ./autogen-2.22.sh +} + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var + make -j1 +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} |