aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fish-irssi
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-10-01 15:39:51 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-10-01 15:39:57 +0200
commitcb948b70697c6a01c5e245b5fe75423167849058 (patch)
tree13c974e7e3473c17b2ed050da8e3c2478958cd18 /testing/fish-irssi
parent1de297aadf675c9c378d6e3301c3f39bcd1f0a64 (diff)
downloadaports-cb948b70697c6a01c5e245b5fe75423167849058.tar.bz2
aports-cb948b70697c6a01c5e245b5fe75423167849058.tar.xz
testing/fish-irssi: new aport
Diffstat (limited to 'testing/fish-irssi')
-rw-r--r--testing/fish-irssi/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/fish-irssi/APKBUILD b/testing/fish-irssi/APKBUILD
new file mode 100644
index 0000000000..270f7a7369
--- /dev/null
+++ b/testing/fish-irssi/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=fish-irssi
+pkgver=1.4
+pkgrel=0
+pkgdesc="irssi FiSH plugin"
+url="https://github.com/falsovsky/FiSH-irssi"
+arch="all"
+license="custom"
+depends=""
+depends_dev=""
+makedepends="$depends_dev irssi-dev openssl-dev glib-dev cmake"
+install=""
+subpackages="$pkgname-doc"
+source="FiSH-irssi-$pkgver.tar.gz::https://github.com/falsovsky/FiSH-irssi/archive/$pkgver.tar.gz"
+
+_builddir="$srcdir"/FiSH-irssi-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddirs"
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=Release \
+ || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return
+}
+
+md5sums="cf3a77c87e5b7377a8f6d544c24549bb FiSH-irssi-1.4.tar.gz"
+sha256sums="2aa3efd91e23e2dde538168394c9c9eb86372340a672b3419c8aaaebdc93c48a FiSH-irssi-1.4.tar.gz"
+sha512sums="445c9b3d447d69550693344bcab365a2a3ef66244e6ea30a8a2ed9a3f0027fb325336ec86c872e3b1cf9bd40453bcad6f151634a37727ec85bd5aee5b4c6db20 FiSH-irssi-1.4.tar.gz"