summaryrefslogtreecommitdiff
path: root/gnome-unstable/gnome-font-viewer
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-25 00:23:17 -0700
committerroot <root@rshg054.dnsready.net>2012-09-25 00:23:17 -0700
commit9ddf3e5a94b0848cdf9e6ffcc586576bb614bc13 (patch)
tree6b81ad2acdf24efb0e3a131110ebe97d4b9ed599 /gnome-unstable/gnome-font-viewer
parent8f0a971364bf8fee254a13a94adf2bfa9173e804 (diff)
Tue Sep 25 00:23:14 PDT 2012
Diffstat (limited to 'gnome-unstable/gnome-font-viewer')
-rw-r--r--gnome-unstable/gnome-font-viewer/PKGBUILD28
-rw-r--r--gnome-unstable/gnome-font-viewer/gnome-font-viewer.install11
2 files changed, 39 insertions, 0 deletions
diff --git a/gnome-unstable/gnome-font-viewer/PKGBUILD b/gnome-unstable/gnome-font-viewer/PKGBUILD
new file mode 100644
index 000000000..186904af7
--- /dev/null
+++ b/gnome-unstable/gnome-font-viewer/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 167040 2012-09-24 20:36:55Z jgc $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+
+pkgname=gnome-font-viewer
+pkgver=3.6.0
+pkgrel=1
+pkgdesc="GNOME font viewer and thumbnailer"
+arch=(i686 x86_64)
+license=('GPL')
+depends=('gtk3' 'desktop-file-utils' 'gnome-desktop')
+makedepends=('intltool')
+options=('!libtool' '!emptydirs')
+url="http://www.gnome.org"
+groups=('gnome-extra')
+install=gnome-font-viewer.install
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver:0:3}/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('3625c9f70ef227cd6cdaa1fea4990d87ba12ba3681e105cf5db731edec208e74')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
diff --git a/gnome-unstable/gnome-font-viewer/gnome-font-viewer.install b/gnome-unstable/gnome-font-viewer/gnome-font-viewer.install
new file mode 100644
index 000000000..e111ef946
--- /dev/null
+++ b/gnome-unstable/gnome-font-viewer/gnome-font-viewer.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}