summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4652fc9e7f15cf8e8ac0ac3730a4934a4ac369c1 (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
31
32
33
34
35
# Contributor: Olivier Duclos <olivier.duclos@gmail.com>
# Maintainer: Dan Panzarella <alsoelp@gmail.com>

pkgname=gbdfed
pkgver=1.6
pkgrel=3
pkgdesc="A GTK2 bitmap font editor"
arch=(i686 x86_64)
url="http://sofia.nmsu.edu/~mleisher/Software/gbdfed/"
license=('MIT')
depends=(gtk2)
source=(http://sofia.nmsu.edu/~mleisher/Software/gbdfed/$pkgname-$pkgver.tar.bz2 \
	http://sofia.nmsu.edu/~mleisher/Software/gbdfed/gbdfed48x48.png \
	gbdfed.desktop \
	num_signals.patch)
md5sums=('2a2e1cbfe8566db6d302f0b9ab79b8dd'
         '3681abf22f23a62c48acfca417655dd0'
         '9e4dd5cb12245e7ea51f53085a714360'
	 '0034b837f9217ebdf5a271d2e242d635')

build() {
  cd $srcdir/$pkgname-$pkgver
  sed -i 's/-D.*_DEPRECATED\s*\\*//' Makefile.in
  patch -p1 < ../num_signals.patch
  ./configure --prefix=/usr
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install
  install -d $pkgdir/usr/share/{applications,pixmaps}
  install -m644 ../gbdfed.desktop $pkgdir/usr/share/applications/
  install -m644 ../gbdfed48x48.png $pkgdir/usr/share/pixmaps/gbdfed.png
}