Created
January 14, 2019 14:04
-
-
Save pinpox/2e7f56d389f2ff08fad98e4bbac8e965 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Contributor: Olivier Duclos <[email protected]> | |
# Maintainer: Dan Panzarella <[email protected]> | |
pkgname=gbdfed | |
pkgver=1.6 | |
pkgrel=3 | |
pkgdesc="A GTK2 bitmap font editor" | |
arch=(i686 x86_64) | |
url="http://www.math.nmsu.edu/~mleisher/Software/gbdfed/" | |
license=('MIT') | |
depends=(gtk2) | |
source=( | |
http://sofia.nmsu.edu/~mleisher/Software/gbdfed/gbdfed-1.6.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 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment