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 | |
download | aur-gio-sharp.tar.gz |
Removed from [community].
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..33d680f467f0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = gio-sharp + pkgdesc = Mono bindings to Glib's libgio + pkgver = 0.3 + pkgrel = 3 + url = https://github.com/mono/gio-sharp + arch = any + license = MIT + depends = gtk-sharp-2 + source = gio-sharp-0.3.tar.gz::https://github.com/mono/gio-sharp/archive/0.3.tar.gz + sha256sums = 25142dd9f2cfa984acf10a579fb771612f46ae4c089b65e059d72a403a2fc1d5 + +pkgname = gio-sharp + 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" +} |