blob: b9f4ae91274f98de320420e6c58cfa2d4c269d91 (
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
|
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Daniel Isenmann <daniel@archlinux.org>
pkgname=gnome-keyring-sharp
pkgver=1.0.2
pkgrel=7
pkgdesc="A fully managed implementation of libgnome-keyring"
arch=('x86_64')
url="https://github.com/mono/gnome-keyring-sharp"
license=('MIT')
depends=('libgnome-keyring' 'gtk-sharp-2')
source=(https://ftp.iij.ad.jp/pub/linux/momonga/development/source/SOURCES/$pkgname-$pkgver.tar.gz)
sha256sums=('043e3e22132bdfe34e8ca314b6fd34bb0bc55a23eeb102778c64c243bb595315')
prepare() {
cd $pkgname-$pkgver
sed -i '/AssemblyKeyFile/d' src/Gnome.Keyring/AssemblyInfo.cs.in
sed -i '/GACUTIL/d' src/Makefile.{am,in}
}
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 src/Gnome.Keyring.dll "$pkgdir/usr/lib/mono/gnome-keyring-sharp-1.0/Gnome.Keyring.dll"
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
|