1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Added experimental Alpine package

This commit is contained in:
krateng 2022-03-09 20:10:50 +01:00
parent c8e658af43
commit 7b89d227a3
2 changed files with 37 additions and 0 deletions

35
APKBUILD Normal file
View File

@ -0,0 +1,35 @@
# Contributor: Johannes Krattenmacher <maloja@dev.krateng.ch>
# Maintainer: Johannes Krattenmacher <maloja@dev.krateng.ch>
pkgname=maloja
pkgver=2.14.6
pkgrel=0
pkgdesc="Scrobble statistics server"
url="https://github.com/krateng/maloja"
arch="noarch"
license="GPL-3.0"
depends="python3 tzdata vips"
pkgusers=$pkgname
pkggroups=$pkgname
depends_dev="gcc python3-dev libxml2-dev libxslt-dev libffi-dev libc-dev py3-pip linux-headers py3-build"
makedepends="$depends_dev"
source="
maloja-$pkgver.tar.gz::https://github.com/krateng/maloja/archive/refs/tags/v$pkgver.tar.gz
"
builddir="$srcdir"/maloja-$pkgver
build() {
cd $builddir
python3 -m build .
pip3 install dist/*.tar.gz
}
package() {
mkdir -p /etc/maloja || return 1
mkdir -p /var/lib/maloja || return 1
mkdir -p /var/cache/maloja || return 1
mkdir -p /var/logs/maloja || return 1
}
sha512sums="a674eaaaa248fc2b315514d79f9a7a0bac6aa1582fe29554d9176e8b551e8aa3aa75abeebdd7713e9e98cc987e7bd57dc7a5e9a2fb85af98b9c18cb54de47bf7 maloja-${pkgver}.tar.gz"

View File

@ -16,3 +16,5 @@ countas Sips The Yogscast
countas Sjin The Yogscast
countas Airi Suzuki ℃-ute
countas CeeLo Green Gnarls Barkley
countas Amelia Watson Hololive EN
countas Gawr Gura Hololive EN

Can't render this file because it has a wrong number of fields in line 5.