From b1a3811eb70b8170457c9a1c988aff713be9ee51 Mon Sep 17 00:00:00 2001 From: LinuxSquare Date: Sat, 20 Apr 2024 19:22:31 +0200 Subject: [PATCH] initial commit --- APKBUILD | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 APKBUILD diff --git a/APKBUILD b/APKBUILD new file mode 100644 index 0000000..7ea8934 --- /dev/null +++ b/APKBUILD @@ -0,0 +1,16 @@ +pkgname=repo-mgmt +pkgver=0.0.1 +pkgrel=1 +pkgdesc="Noveria Alpine Linux repository build management" +url="https://git.noveria.org/NoveriaOS/repo-mgmt" +arch="x86_64" +license="AGPL-v3.0" +depends="rsync podman bash" +source="$pkgname-$pkgver.tar.gz::https://git.noveria.org/NoveriaOS/$pkgname/archive/$pkgver.tar.gz" + +package() { + install -Dm 755 repo-mgmt "$pkgdir"/opt/$pkgname/repo-mgmt + cp -R image /opt/$pkgname/ + + ln -s /opt/$pkgname/repo-mgmt /usr/bin/repo-mgmt +}