diff options
author | Lance C. Booth | 2018-01-09 17:50:37 -0800 |
---|---|---|
committer | Lance C. Booth | 2018-01-09 17:50:37 -0800 |
commit | a0f079088d6af46c58cc25c62ad9a41130be7025 (patch) | |
tree | d33c8222f22ec2e54f947c04365b4a96db83dec9 | |
download | aur-a0f079088d6af46c58cc25c62ad9a41130be7025.tar.gz |
Initial commit, version 1.4.1
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 27 |
3 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4e326484a19c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = cpat + pkgdesc = A curses based solitaire/patience collection of 9 games + pkgver = 1.4.1 + pkgrel = 1 + url = http://cpat.sourceforge.net/ + arch = x86_64 + arch = i686 + license = GPL3 + depends = ncurses + source = https://ayera.dl.sourceforge.net/project/cpat/cpat/1.4.1/cpat-1.4.1.tar.gz + sha256sums = 48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327 + +pkgname = cpat + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..72e8ffc0db8a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..33a1dbdd5b03 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Lance C. Booth <computerwizz98@yahoo.com> +pkgname=cpat +pkgver=1.4.1 +pkgrel=1 +pkgdesc="A curses based solitaire/patience collection of 9 games" +arch=('x86_64' 'i686') +url="http://cpat.sourceforge.net/" +license=('GPL3') +depends=('ncurses') +source=("https://ayera.dl.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=('48b9a67cf5b8c9ce0b65de2d75c2086e37067bfa9b401f3d660465f1fd863327') + +build() { + cd "$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + +check() { + cd "$pkgname-$pkgver" + make -k check +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} |