aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean McAvoy <seanmcavoy@gmail.com>2021-10-14 19:11:04 -0400
committerLeo <thinkabit.ukim@gmail.com>2021-10-16 04:22:30 +0000
commit3218bf61efef6df574e7f5eb91fae8b54480a2f5 (patch)
tree0fdd45c7a5fdec86f95abaa1b506c5bc447d1d9f
parentc94c03ccc9320f4dcbc424fb34b76f6118ed230c (diff)
downloadaports-3218bf61efef6df574e7f5eb91fae8b54480a2f5.tar.gz
aports-3218bf61efef6df574e7f5eb91fae8b54480a2f5.tar.bz2
aports-3218bf61efef6df574e7f5eb91fae8b54480a2f5.tar.xz
testing/topgrade: new aport
topgrade runs updates/upgrades on various packaging systems
-rw-r--r--testing/topgrade/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/topgrade/APKBUILD b/testing/topgrade/APKBUILD
new file mode 100644
index 0000000000..3a99eb2428
--- /dev/null
+++ b/testing/topgrade/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Sean McAvoy <seanmcavoy@gmail.com>
+# Maintainer: Sean McAvoy <seanmcavoy@gmail.com>
+pkgname=topgrade
+pkgver=7.1.0
+pkgrel=0
+pkgdesc="run upgrades of packages in OS and other package managers"
+url="https://github.com/r-darwish/topgrade"
+arch="all !s390x !mips !mips64 !riscv64"
+license="GPL-3.0-or-later"
+makedepends="rust cargo"
+subpackages="$pkgname-doc"
+source="topgrade-$pkgver.tar.gz::https://github.com/r-darwish/topgrade/archive/refs/tags/v$pkgver.tar.gz"
+
+build() {
+ cargo build --release
+}
+
+check() {
+ cargo test
+}
+
+package() {
+ install -Dm755 target/release/topgrade $pkgver/usr/bin/topgrade
+ install -Dm644 topgrade.8 $pkgdir/usr/share/man/man8/topgrade.8
+ install -Dm644 LICENSE $pkgdir/usr/share/license/topgrade/LICENSE
+}
+
+sha512sums="
+984d5f95e1d51f2fe04d3e767b44781e7850ef93f8d16fc31f0ec7c88eee5a2355578327fee9641016c168acb7dfedf1b8d81d1b82049faa9d492f42941f34e9 topgrade-7.1.0.tar.gz
+"