summaryrefslogtreecommitdiff
path: root/community/gtk2fontsel/PKGBUILD
blob: 9a7cc88700913fc53b8ea48681b0d2a58fa99585 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 97789 2013-09-29 18:17:04Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org

pkgname=gtk2fontsel
pkgver=0.1
pkgrel=5
pkgdesc="Font selection and preview tool"
arch=('i686' 'x86_64')
url="http://gtk2fontsel.sourceforge.net/"
license=('GPL')
depends=('gtk2')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz gtk2fontsel.desktop)
sha256sums=('5cd6396fc3c6e7f9bc358cc5ad30592ba446cdb0138a811216497b6453905a68'
            'b827567c26b929256c5df3837019d7f9531ecf5ba5d7ba4a16f339ea0288d332')

build() {
  cd ${srcdir}/$pkgname-$pkgver

  ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/$pkgname-$pkgver

  make prefix=${pkgdir}/usr install
  install -D -m644 ${srcdir}/gtk2fontsel.desktop \
    ${pkgdir}/usr/share/applications/gtk2fontsel.desktop
}