summaryrefslogtreecommitdiff
path: root/extra/xorg-xfontsel/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xorg-xfontsel/PKGBUILD')
-rw-r--r--extra/xorg-xfontsel/PKGBUILD32
1 files changed, 18 insertions, 14 deletions
diff --git a/extra/xorg-xfontsel/PKGBUILD b/extra/xorg-xfontsel/PKGBUILD
index 827003048..c2fd0e0a9 100644
--- a/extra/xorg-xfontsel/PKGBUILD
+++ b/extra/xorg-xfontsel/PKGBUILD
@@ -1,23 +1,27 @@
-# $Id: $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
+# $Id: PKGBUILD 149201 2012-02-06 08:23:09Z bisson $
+# Contributor: Jan de Groot <jgc@archlinux.org>
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
pkgname=xorg-xfontsel
pkgver=1.0.3
-pkgrel=1
-pkgdesc="Point and click selection of X11 font names"
-arch=(i686 x86_64 'mips64el')
-url="http://xorg.freedesktop.org/"
+pkgrel=2
+pkgdesc='Point and click selection of X11 font names'
+url='http://xorg.freedesktop.org/'
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
-depends=('libxaw' 'libxmu' 'libxt' 'libx11')
makedepends=('xorg-util-macros')
-source=(http://xorg.freedesktop.org/archive/individual/app/xfontsel-${pkgver}.tar.bz2)
+depends=('libxaw' 'libxmu' 'libxt' 'libx11')
+source=("http://xorg.freedesktop.org/archive/individual/app/xfontsel-${pkgver}.tar.bz2")
sha1sums=('df2eb12b90339b7091bd362b095344015ec8b6fa')
build() {
- cd "${srcdir}/xfontsel-${pkgver}"
- ./configure --prefix=/usr
- make
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+ cd "${srcdir}/xfontsel-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/xfontsel-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}