db-move: moved adwaita-icon-theme from [testing] to [extra] (any)
[arch-packages.git] / tomboy / trunk / PKGBUILD
blobaf9725e761114b13cd9e8bc95dddd8f230363d06
1 # Maintainer: Jan de Groot <jgc@archlinux.org>
3 pkgname=tomboy
4 pkgver=1.15.9
5 pkgrel=1
6 pkgdesc="Desktop note-taking application for Linux and Unix"
7 arch=('x86_64')
8 license=('GPL')
9 url="http://www.gnome.org/projects/tomboy/"
10 depends=('gtk2' 'gtkspell' 'gconf' 'gconf-sharp' 'dbus-sharp-glib' 'mono-addins' 'hicolor-icon-theme')
11 makedepends=('intltool' 'pkgconfig'  'gnome-doc-utils' git yelp-tools autoconf-archive)
12 options=('!emptydirs' '!makeflags')
13 _commit=c22bfefd5855634bdba7b40b3d97aaa0965c6997  # tags/1.15.9^0
14 source=("git+https://git.gnome.org/browse/tomboy#commit=$_commit")
15 sha256sums=('SKIP')
17 pkgver() {
18   cd $pkgname
19   git describe --tags | sed 's/-/+/g'
22 check() {
23   cd $pkgname
24   make check
27 prepare() {
28   cd $pkgname
29   NOCONFIGURE=1 ./autogen.sh
32 build() {
33   export MONO_SHARED_DIR="$srcdir/.wabi"
34   mkdir -p "$MONO_SHARED_DIR"
36   cd "$pkgname"
37   autoreconf -fi
38   ./configure --prefix=/usr --sysconfdir=/etc \
39       --localstatedir=/var \
40       --disable-update-mimedb
41   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
42   make
45 package() {
46   cd "$pkgname"
47   make DESTDIR="$pkgdir" GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 install
49   install -m755 -d "$pkgdir/usr/share/gconf/schemas"
50   gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/$pkgname.schemas" --domain tomboy "$pkgdir"/etc/gconf/schemas/*.schemas
51   rm -f "$pkgdir"/etc/gconf/schemas/*.schemas