Last active
December 18, 2015 19:29
-
-
Save ant32/5833728 to your computer and use it in GitHub Desktop.
tuxtype PKGBUILD
This file contains 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
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> | |
# Contributor: arjan <arjan@archlinux.org> | |
# Contributor: Tom Newsom <Jeepster@gmx.co.uk> and patched by orelien <aurelien.foret@wanadoo.fr> | |
pkgname=tuxtype | |
pkgver=1.8.1 | |
pkgrel=1 | |
pkgdesc="An educational typing tutorial game starring Tux" | |
arch=('i686' 'x86_64') | |
url="http://tux4kids.alioth.debian.org/" | |
license=('GPL2') | |
depends=('audiofile' 'esound' 'libjpeg' 'libpng' 'librsvg' 'libvorbis' 'sdl' 'sdl_image' 'sdl_mixer' 'sdl_ttf' 'sdl_pango') | |
source=("https://alioth.debian.org/frs/download.php/file/3270/${pkgname}_w_fonts-${pkgver}.tar.gz") | |
md5sums=('ce96616ba0c9e619ce0071a528301e94') | |
build() { | |
cd "${srcdir}/${pkgname}_w_fonts-${pkgver}" | |
./configure --prefix=/usr | |
make | |
} | |
package() { | |
cd ${srcdir}/${pkgname}_w_fonts-${pkgver} | |
make DESTDIR="$pkgdir/" install | |
#icon + desktop files | |
install -D -m644 ${srcdir}/${pkgname}_w_fonts-${pkgver}/$pkgname.desktop \ | |
${pkgdir}/usr/share/applications/$pkgname.desktop | |
install -D -m644 ${srcdir}/${pkgname}_w_fonts-${pkgver}/icon.png \ | |
${pkgdir}/usr/share/pixmaps/$pkgname.png | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment