From 6e38efeea34e8cae0acb6f91e86e1652c0bf65bd Mon Sep 17 00:00:00 2001 From: Leo Date: Sun, 31 May 2020 12:18:37 -0300 Subject: community/ion-shell: move from testing --- community/ion-shell/APKBUILD | 28 ++++++++++++++++++++++++++++ community/ion-shell/ion-shell.post-install | 3 +++ community/ion-shell/ion-shell.post-upgrade | 1 + community/ion-shell/ion-shell.pre-deinstall | 3 +++ testing/ion-shell/APKBUILD | 28 ---------------------------- testing/ion-shell/ion-shell.post-install | 3 --- testing/ion-shell/ion-shell.post-upgrade | 1 - testing/ion-shell/ion-shell.pre-deinstall | 3 --- 8 files changed, 35 insertions(+), 35 deletions(-) create mode 100644 community/ion-shell/APKBUILD create mode 100644 community/ion-shell/ion-shell.post-install create mode 120000 community/ion-shell/ion-shell.post-upgrade create mode 100644 community/ion-shell/ion-shell.pre-deinstall delete mode 100644 testing/ion-shell/APKBUILD delete mode 100644 testing/ion-shell/ion-shell.post-install delete mode 120000 testing/ion-shell/ion-shell.post-upgrade delete mode 100644 testing/ion-shell/ion-shell.pre-deinstall diff --git a/community/ion-shell/APKBUILD b/community/ion-shell/APKBUILD new file mode 100644 index 0000000000..b4444595ef --- /dev/null +++ b/community/ion-shell/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Leo +# Maintainer: Leo +pkgname=ion-shell +pkgver=1.0.5_git20200522 +pkgrel=0 +_commit=ca069ed1c113d8d07d6535c24939389065ce761f +pkgdesc="The Ion Shell" +url="https://gitlab.redox-os.org/redox-os/ion" +arch="all !s390x !mips !mips64" +license="MIT" +makedepends="cargo" +install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall" +source="$pkgname-$_commit.tar.gz::https://gitlab.redox-os.org/redox-os/ion/-/archive/$_commit.tar.gz" +builddir="$srcdir/ion-$_commit" + +build() { + cargo build --release --locked +} + +check() { + cargo test --release --locked +} + +package() { + install -Dm0755 target/release/ion -t "$pkgdir"/usr/bin +} + +sha512sums="9c83c3ae6bc3253a93496448b6137a686f52edcf28036fe6bc237ed6bc8e64f184a1cc8753c0b870d20d122080306a1cfc9e7c610bb188e56fcad595585dcf66 ion-shell-ca069ed1c113d8d07d6535c24939389065ce761f.tar.gz" diff --git a/community/ion-shell/ion-shell.post-install b/community/ion-shell/ion-shell.post-install new file mode 100644 index 0000000000..a40b915462 --- /dev/null +++ b/community/ion-shell/ion-shell.post-install @@ -0,0 +1,3 @@ +#!/bin/sh +add-shell '/usr/bin/ion' +exit 0 diff --git a/community/ion-shell/ion-shell.post-upgrade b/community/ion-shell/ion-shell.post-upgrade new file mode 120000 index 0000000000..90eba30cc4 --- /dev/null +++ b/community/ion-shell/ion-shell.post-upgrade @@ -0,0 +1 @@ +ion-shell.post-install \ No newline at end of file diff --git a/community/ion-shell/ion-shell.pre-deinstall b/community/ion-shell/ion-shell.pre-deinstall new file mode 100644 index 0000000000..e344456932 --- /dev/null +++ b/community/ion-shell/ion-shell.pre-deinstall @@ -0,0 +1,3 @@ +#!/bin/sh +remove-shell '/usr/bin/ion' +exit 0 diff --git a/testing/ion-shell/APKBUILD b/testing/ion-shell/APKBUILD deleted file mode 100644 index b4444595ef..0000000000 --- a/testing/ion-shell/APKBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# Contributor: Leo -# Maintainer: Leo -pkgname=ion-shell -pkgver=1.0.5_git20200522 -pkgrel=0 -_commit=ca069ed1c113d8d07d6535c24939389065ce761f -pkgdesc="The Ion Shell" -url="https://gitlab.redox-os.org/redox-os/ion" -arch="all !s390x !mips !mips64" -license="MIT" -makedepends="cargo" -install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall" -source="$pkgname-$_commit.tar.gz::https://gitlab.redox-os.org/redox-os/ion/-/archive/$_commit.tar.gz" -builddir="$srcdir/ion-$_commit" - -build() { - cargo build --release --locked -} - -check() { - cargo test --release --locked -} - -package() { - install -Dm0755 target/release/ion -t "$pkgdir"/usr/bin -} - -sha512sums="9c83c3ae6bc3253a93496448b6137a686f52edcf28036fe6bc237ed6bc8e64f184a1cc8753c0b870d20d122080306a1cfc9e7c610bb188e56fcad595585dcf66 ion-shell-ca069ed1c113d8d07d6535c24939389065ce761f.tar.gz" diff --git a/testing/ion-shell/ion-shell.post-install b/testing/ion-shell/ion-shell.post-install deleted file mode 100644 index a40b915462..0000000000 --- a/testing/ion-shell/ion-shell.post-install +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -add-shell '/usr/bin/ion' -exit 0 diff --git a/testing/ion-shell/ion-shell.post-upgrade b/testing/ion-shell/ion-shell.post-upgrade deleted file mode 120000 index 90eba30cc4..0000000000 --- a/testing/ion-shell/ion-shell.post-upgrade +++ /dev/null @@ -1 +0,0 @@ -ion-shell.post-install \ No newline at end of file diff --git a/testing/ion-shell/ion-shell.pre-deinstall b/testing/ion-shell/ion-shell.pre-deinstall deleted file mode 100644 index e344456932..0000000000 --- a/testing/ion-shell/ion-shell.pre-deinstall +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -remove-shell '/usr/bin/ion' -exit 0 -- cgit v1.2.3