From 6d3b656ee024a60ccd41e07f22439ac516b079bb Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Thu, 20 Nov 2014 19:17:03 +0000 Subject: tty-solitaire-git: import pkg --- PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 PKGBUILD (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..94d347c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +pkgname=tty-solitaire-git +pkgver=0.1.0.r4.g7b127c9 +pkgrel=1 + +pkgdesc='An ncurses-based Klondike solitaire clone' +url='https://github.com/mpereira/tty-solitaire' +arch=('i686' 'x86_64') +license=('MIT') + +makedepends=('git') +depends=('ncurses') + +source=('git+https://github.com/mpereira/tty-solitaire') + +sha256sums=('SKIP') + +pkgver() { + cd tty-solitaire + git describe --tags | sed 's/^v//; s/-/.r/; s/-/./' +} + +build() { + cd tty-solitaire + make +} + +package() { + cd tty-solitaire + make DESTDIR="$pkgdir" PREFIX="/usr" install +} -- cgit v1.2.3-70-g09d2