[arch-commits] Commit in gnote/repos (6 files)
Jan de Groot
jgc at archlinux.org
Tue Mar 29 14:01:42 UTC 2016
Date: Tuesday, March 29, 2016 @ 16:01:42
Author: jgc
Revision: 263235
archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64
Added:
gnote/repos/gnome-unstable-i686/
gnote/repos/gnome-unstable-i686/PKGBUILD
(from rev 263234, gnote/trunk/PKGBUILD)
gnote/repos/gnome-unstable-i686/gnote.install
(from rev 263234, gnote/trunk/gnote.install)
gnote/repos/gnome-unstable-x86_64/
gnote/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 263234, gnote/trunk/PKGBUILD)
gnote/repos/gnome-unstable-x86_64/gnote.install
(from rev 263234, gnote/trunk/gnote.install)
-------------------------------------+
gnome-unstable-i686/PKGBUILD | 39 ++++++++++++++++++++++++++++++++++
gnome-unstable-i686/gnote.install | 21 ++++++++++++++++++
gnome-unstable-x86_64/PKGBUILD | 39 ++++++++++++++++++++++++++++++++++
gnome-unstable-x86_64/gnote.install | 21 ++++++++++++++++++
4 files changed, 120 insertions(+)
Copied: gnote/repos/gnome-unstable-i686/PKGBUILD (from rev 263234, gnote/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD (rev 0)
+++ gnome-unstable-i686/PKGBUILD 2016-03-29 14:01:42 UTC (rev 263235)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+# Contributor: uastasi <uastasi at archlinux.us>
+
+pkgname=gnote
+pkgver=3.20.0
+pkgrel=1
+pkgdesc='A note taking application'
+arch=('i686' 'x86_64')
+url='https://wiki.gnome.org/action/show/Apps/Gnote'
+license=('GPL3')
+depends=('gtkmm3' 'libxslt' 'hicolor-icon-theme' 'desktop-file-utils' 'dconf' 'libsecret')
+makedepends=('intltool' 'itstool' 'boost')
+install=gnote.install
+source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
+sha256sums=('4c363595e6f2d1a9a640f02c83e4b8680ea6d3101315e59d39c4db2d585f81a9')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libexecdir=/usr/lib/gnote \
+ --disable-scrollkeeper \
+ --disable-schemas-compile \
+ --disable-static
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
Copied: gnote/repos/gnome-unstable-i686/gnote.install (from rev 263234, gnote/trunk/gnote.install)
===================================================================
--- gnome-unstable-i686/gnote.install (rev 0)
+++ gnome-unstable-i686/gnote.install 2016-03-29 14:01:42 UTC (rev 263235)
@@ -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
+}
Copied: gnote/repos/gnome-unstable-x86_64/PKGBUILD (from rev 263234, gnote/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2016-03-29 14:01:42 UTC (rev 263235)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+# Contributor: uastasi <uastasi at archlinux.us>
+
+pkgname=gnote
+pkgver=3.20.0
+pkgrel=1
+pkgdesc='A note taking application'
+arch=('i686' 'x86_64')
+url='https://wiki.gnome.org/action/show/Apps/Gnote'
+license=('GPL3')
+depends=('gtkmm3' 'libxslt' 'hicolor-icon-theme' 'desktop-file-utils' 'dconf' 'libsecret')
+makedepends=('intltool' 'itstool' 'boost')
+install=gnote.install
+source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
+sha256sums=('4c363595e6f2d1a9a640f02c83e4b8680ea6d3101315e59d39c4db2d585f81a9')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libexecdir=/usr/lib/gnote \
+ --disable-scrollkeeper \
+ --disable-schemas-compile \
+ --disable-static
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
Copied: gnote/repos/gnome-unstable-x86_64/gnote.install (from rev 263234, gnote/trunk/gnote.install)
===================================================================
--- gnome-unstable-x86_64/gnote.install (rev 0)
+++ gnome-unstable-x86_64/gnote.install 2016-03-29 14:01:42 UTC (rev 263235)
@@ -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