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 --- .SRCINFO | 17 +++++++++++++++++ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..25bc140 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by makepkg 4.2.1 +# Mon Jun 1 15:00:05 UTC 2015 +pkgbase = tty-solitaire-git + pkgdesc = An ncurses-based Klondike solitaire clone + pkgver = 0.1.0.r4.g7b127c9 + pkgrel = 1 + url = https://github.com/mpereira/tty-solitaire + arch = i686 + arch = x86_64 + license = MIT + makedepends = git + depends = ncurses + source = git+https://github.com/mpereira/tty-solitaire + sha256sums = SKIP + +pkgname = tty-solitaire-git + 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