[arch-commits] Commit in blam/repos (3 files)

Jan de Groot jgc at archlinux.org
Thu Feb 26 12:09:59 UTC 2015


    Date: Thursday, February 26, 2015 @ 13:09:57
  Author: jgc
Revision: 128248

archrelease: copy trunk to community-staging-any

Added:
  blam/repos/community-staging-any/
  blam/repos/community-staging-any/PKGBUILD
    (from rev 128247, blam/trunk/PKGBUILD)
  blam/repos/community-staging-any/blam.install
    (from rev 128247, blam/trunk/blam.install)

--------------+
 PKGBUILD     |   35 +++++++++++++++++++++++++++++++++++
 blam.install |   22 ++++++++++++++++++++++
 2 files changed, 57 insertions(+)

Copied: blam/repos/community-staging-any/PKGBUILD (from rev 128247, blam/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2015-02-26 12:09:57 UTC (rev 128248)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=blam
+pkgver=1.8.12
+pkgrel=2
+pkgdesc="Simple newsreader for GNOME written in C Sharp"
+arch=('any')
+url="https://git.gnome.org/browse/blam"
+license=('GPL')
+depends=('webkit-sharp' 'gconf-sharp' 'notify-sharp' 'hicolor-icon-theme' 'xdg-utils')
+makedepends=('intltool')
+install=$pkgname.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('6294d13629cd0cabc50ed3a489682b50c2c61972d55d8209b59b2a8b434810ea')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i -e 's/dbus-sharp-glib-1.0/dbus-sharp-glib-2.0/g' configure.ac
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  autoreconf -fi
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+              --disable-schemas-install \
+              --with-gconf-schema-file-dir=/usr/share/gconf/schemas
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir/" install
+}

Copied: blam/repos/community-staging-any/blam.install (from rev 128247, blam/trunk/blam.install)
===================================================================
--- community-staging-any/blam.install	                        (rev 0)
+++ community-staging-any/blam.install	2015-02-26 12:09:57 UTC (rev 128248)
@@ -0,0 +1,22 @@
+pkgname=blam
+
+post_install() {
+  gconfpkg --install $pkgname
+  xdg-icon-resource forceupdate
+}
+
+pre_upgrade() {
+  pre_remove $1
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  gconfpkg --uninstall $pkgname
+}
+
+post_remove() {
+  xdg-icon-resource forceupdate
+}



More information about the arch-commits mailing list