[arch-commits] Commit in (5 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Sun Jun 21 13:39:14 UTC 2015
Date: Sunday, June 21, 2015 @ 15:39:14
Author: bpiotrowski
Revision: 241161
community2extra: Moving gnote from community to extra
Added:
gnote/
gnote/repos/
gnote/trunk/
gnote/trunk/PKGBUILD
gnote/trunk/gnote.install
---------------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
gnote.install | 21 +++++++++++++++++++++
2 files changed, 53 insertions(+)
Added: gnote/trunk/PKGBUILD
===================================================================
--- gnote/trunk/PKGBUILD (rev 0)
+++ gnote/trunk/PKGBUILD 2015-06-21 13:39:14 UTC (rev 241161)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+# Contributor: uastasi <uastasi at archlinux.us>
+pkgname=gnote
+pkgver=3.16.0
+pkgrel=1
+pkgdesc="A note taking application."
+arch=('i686' 'x86_64')
+url="http://live.gnome.org/Gnote"
+license=('GPL3')
+depends=('gtkmm3' 'libxslt' 'hicolor-icon-theme' 'desktop-file-utils' 'dconf' 'libsecret')
+makedepends=('intltool' 'itstool' 'boost')
+install=gnote.install
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('acad6b711a0aa41397aa35f4eda2d44dcecd57d6a17adcb8d1d7db4018c5e2fb')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libexecdir=/usr/lib/gnote \
+ --disable-scrollkeeper \
+ --disable-schemas-compile \
+ --disable-static
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
Property changes on: gnote/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: gnote/trunk/gnote.install
===================================================================
--- gnote/trunk/gnote.install (rev 0)
+++ gnote/trunk/gnote.install 2015-06-21 13:39:14 UTC (rev 241161)
@@ -0,0 +1,21 @@
+pkgname=gnote
+
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+pre_upgrade() {
+ if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then
+ usr/sbin/gconfpkg --uninstall ${pkgname}
+ fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list