#Packager: George Vlahavas pkgname=2048-in-terminal pkgver=20220215 pkgrel=1gv source=("$pkgname-$pkgver.tar.xz" "$pkgname.desktop" "$pkgname.png") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=https://github.com/alewmoose/2048-in-terminal options=('nosrcpack') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "2048-in-terminal (Animated console version of the 2048 game)" "This is a terminal based port of the popular 2048 game." ) build() { cd $startdir/src/$pkgname-$pkgver make || return 1 install -Dm0755 _build/2048-in-terminal $startdir/pkg/usr/bin/2048-in-terminal mkdir -p $startdir/pkg/usr/share/applications cp $startdir/src/$pkgname.desktop $startdir/pkg/usr/share/applications/ mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps cp $startdir/src/$pkgname.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps/ }