public
Last active

tuxtype PKGBUILD

  • Download Gist
PKGBUILD
Shell
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
# 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
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.