aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2020-04-22 20:07:01 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2020-04-27 13:29:44 +0000
commitedfbdc7f5707ee8567e5c6c8344f05514bc1957e (patch)
tree0c008b103c31a6318a7af29dccc5992f6154926f
parentf3c1355ca20b2f845b6cd78942f0d66ce88ac527 (diff)
downloadaports-edfbdc7f5707ee8567e5c6c8344f05514bc1957e.tar.gz
aports-edfbdc7f5707ee8567e5c6c8344f05514bc1957e.tar.bz2
aports-edfbdc7f5707ee8567e5c6c8344f05514bc1957e.tar.xz
main/apk-cron: clarify license
- Clarify license - Update url - Modernize
-rw-r--r--main/apk-cron/APKBUILD18
-rw-r--r--main/apk-cron/apk2
2 files changed, 11 insertions, 9 deletions
diff --git a/main/apk-cron/APKBUILD b/main/apk-cron/APKBUILD
index abe3daea6d..8d9788d949 100644
--- a/main/apk-cron/APKBUILD
+++ b/main/apk-cron/APKBUILD
@@ -2,21 +2,21 @@
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=apk-cron
pkgver=1.0
-pkgrel=2
+pkgrel=3
pkgdesc="Periodic software updates"
-url=https://git.alpinelinux.org/cgit/aports/tree/main/apk-cron
-arch=noarch
-license=GPL2
-depends=apk-tools
-source=apk
-options="!check"
+url="https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/main/apk-cron"
+arch="noarch"
+license="GPL-2.0-only"
+depends="apk-tools"
+source="apk"
+options="!check" # no test suite
build() {
return
}
package() {
- install -D -m 755 "$srcdir/apk" "$pkgdir/etc/periodic/daily/apk"
+ install -D -m 755 "$srcdir/apk" -t "$pkgdir"/etc/periodic/daily/
}
-sha512sums="6efad227a5f7f3d4fc0f22496eb37e203e4090f348c9154e3e80ea385a0cfff8240fef1c72d401ae361d73c4bb11110363bfb9ce2c614a6f122989a690e5458b apk"
+sha512sums="0d43c69b457f7c707aab91c7cbc00c9b6c61c78bcdb6c49a36f70b39c27da974d4906c86bbd8ae032ba80d7e1eb7d2dd9a2d57c9d89b2ea6cdbd4137856012f8 apk"
diff --git a/main/apk-cron/apk b/main/apk-cron/apk
index 83cf881b29..117fcbff19 100644
--- a/main/apk-cron/apk
+++ b/main/apk-cron/apk
@@ -1,5 +1,7 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-only
+#
# cron job for automatic software updates
# Copyright (c) 2014 Kaarle Ritvanen