Added feshrss 1.11.1-1

Added znapzend 0.19.0-1
This commit is contained in:
ayakael 2018-08-29 15:46:40 -04:00
parent edb05baeba
commit dcf4b76c77
No known key found for this signature in database
GPG key ID: 575626A4AE5F4026
2 changed files with 63 additions and 0 deletions

25
apk/freshrss/APKBUILD Normal file
View file

@ -0,0 +1,25 @@
# Maintainer: Antoine Martin <antoine@ayakael.net>
pkgname=freshrss
pkgver=1.11.1
pkgrel=1
pkgdesc="FreshRSS is a self-hosted RSS feed aggregator"
arch='noarch'
url="http://freshrss.org"
license='AGPL'
depends='nginx php7 php7-curl php7-dom php7-xml php7-session php7-ctype php7-pdo_mysql mariadb php7-json php7-gmp php7-intl php7-mbstring php7-iconv php7-zip php7-zlib'
source="https://github.com/FreshRSS/FreshRSS/archive/${pkgver}.zip"
builddir="${srcdir}/FreshRSS-${pkgver}"
build() {
return 0
}
package() {
cd ${builddir}
install -d "${pkgdir}/usr/share/webapps/${pkgname}"
cp -r . "${pkgdir}/usr/share/webapps/${pkgname}/"
}
sha512sums="b0316ecbbfc3aebb20c9e47083292f07e356f468fda92641a4fefb9968df9304e7a663ba8f8a5a1f5f740c7a7e8a12999ec20611caabb3449407bbeb7bf1b27b 1.11.1.zip"

38
apk/znapzend/APKBUILD Normal file
View file

@ -0,0 +1,38 @@
# Maintainer: Antoine Martin <antoine@ayakael.net>
pkgname=znapzend
pkgver=0.19.0
pkgrel=1
pkgdesc="ZnapZend is a ZFS centric backup tool."
arch='all'
url="http://www.znapzend.org/"
license='GPL'
depends='perl zfs mbuffer'
makedepends='perl-dev'
source="https://github.com/oetiker/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
subpackages="${pkgname}-doc"
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i 's:@BINDIR@:/usr/bin:' "init/znapzend.sysv.in"
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix="/usr/share/${pkgname}"
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
mkdir -p "${pkgdir}/usr/bin" "${pkgdir}/etc/init.d" "${pkgdir}/usr/share/man/man1"
ln -s "/usr/share/${pkgname}/bin/znapzend" "${pkgdir}/usr/bin/znapzend"
ln -s "/usr/share/${pkgname}/bin/znapzendzetup" "${pkgdir}/usr/bin/znapzendzetup"
ln -s "/usr/share/${pkgname}/bin/znapzendztatz" "${pkgdir}/usr/bin/znapzendztatz"
install -m 644 "init/znapzend.sysv" "${pkgdir}/etc/init.d/znapzend"
install -m 644 "man/znapzend.1" "man/znapzendzetup.1" "man/znapzendztatz.1" "${pkgdir}/usr/share/man/man1"
chmod 777 "${pkgdir}/usr/share/znapzend/lib/x86_64-linux-thread-multi/auto/List/Util/Util.so"
}
sha512sums="4d820d76ee3b79308ce885467880ad160ed7b0eb4cd3b29212514c3a4b3d7536df31f7edc5d14f81ee9dcb9ab4c3f7c74022aaf6e84c101623e31eaf4ab5e780 znapzend-0.19.0.tar.gz"