summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD29
1 files changed, 29 insertions, 0 deletions
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"
+}
+