Skip to content

Instantly share code, notes, and snippets.

@selaux
Last active December 18, 2015 20:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save selaux/5840522 to your computer and use it in GitHub Desktop.
Save selaux/5840522 to your computer and use it in GitHub Desktop.
PKGBUILD for ck2launcher-gtk
# Maintainer: selaux <test@example.com>
pkgname=ck2launcher-gtk
pkgver=20130814
pkgrel=1
pkgdesc="GTK-based launcher for Crusader Kings 2, allowing to select Mods & DLC"
arch=('i686' 'x86_64')
url="https://gist.github.com/selaux/5840325"
license=('WTFPL')
makedepends=('wget')
depends=('python-gobject' 'python-appdirs')
_rawlink="https://gist.github.com/selaux/5840325/raw/b9f7da98e9146f83066a4b7a763a5cdfc42c5912/ck2launcher-gtk"
_filename="ck2launcher-gtk"
build() {
cd "$srcdir"
msg "Receiving file ...."
rm -f "$_filename"
wget "$_rawlink"
}
package() {
cd "$srcdir"
install -Dm755 ck2launcher-gtk ${pkgdir}/usr/bin/ck2launcher-gtk
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment