summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD29
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7d2cfa5338d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = csol
+ pkgdesc = A small collection of ncurses-based solitaire/patience games.
+ pkgver = 1.0.0
+ pkgrel = 1
+ url = https://github.com/nielssp/csol
+ arch = x86_64
+ arch = i686
+ license = MIT
+ makedepends = cmake
+ depends = ncurses
+ source = https://github.com/nielssp/csol/archive/v1.0.0.tar.gz
+ md5sums = e4a5d07e7643d7dc1aae203b249f8734
+
+pkgname = csol
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..96be7d12568
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Niels Sonnich Poulsen <niels@nielssp.dk>
+pkgname=csol
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="A small collection of ncurses-based solitaire/patience games."
+url="https://github.com/nielssp/csol"
+arch=('x86_64' 'i686')
+license=('MIT')
+depends=('ncurses')
+makedepends=('cmake')
+conflicts=()
+replaces=()
+backup=()
+install=
+source=("https://github.com/nielssp/${pkgname}/archive/v${pkgver}.tar.gz")
+md5sums=('e4a5d07e7643d7dc1aae203b249f8734')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ cmake ./ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+