Personal APKBUILDs for LXC containers. Probably not useful for anyone else. Probably not following best practices...
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

56 lines
1.2 KiB

# Maintainer: Chimo <chimo@chromic.org>
#
# FIXME:
# - Run php-fpm pool as 'grocy' user and give it write permissons
# on the 'data' folder
#
# Note:
# - For whatever reason, looks like we needed to create the
# 'data/viewcache' directory manually (and set write perms)
#
# Optional deps:
# - nginx
# - php7-fpm
#
pkgname="grocy"
pkgver=2.5.2
_gitver="d994551f75e066b41c4833668e3747ba773487c9"
pkgrel=0
pkgdesc="ERP beyond your fridge - grocy is a web-based self-hosted groceries & household management solution for your home"
url="https://grocy.info/"
arch="noarch"
license="MIT"
depends="
php7
php7-fileinfo
php7-gd
php7-json
php7-mbstring
php7-pdo_sqlite
php7-simplexml
php7-tokenizer
"
makedepends="
composer
yarn
git
"
options="!check"
source="
$pkgname-$pkgver.tar.gz::https://github.com/grocy/grocy/archive/$_gitver.tar.gz
"
builddir="$srcdir/grocy-$_gitver"
build() {
cd "$builddir"
composer install
yarn install
}
package() {
installdir="$pkgdir/usr/share/webapps"
mkdir -p "$installdir"
cp -r "$builddir" "$installdir"/"$pkgname"
}
sha512sums="e117d6cd37c1b1d2062692d6c5840af4a6885793eb800502c53dbfc1d165d2e3b6d9052a517b48274520d4c430a9987b85375b8f5b109d13cfe8f466815acc9d grocy-2.5.2.tar.gz"