diff options
-rw-r--r-- | testing/fish-irssi/APKBUILD | 44 |
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" |