From 1e2ffc2bb8e40727cfcf85121f50fa8d728591bb Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Tue, 26 Jul 2022 01:28:18 +0000 Subject: feat: Update midr version --- midr/APKBUILD | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'midr/APKBUILD') diff --git a/midr/APKBUILD b/midr/APKBUILD index a9b1b94..0377d11 100644 --- a/midr/APKBUILD +++ b/midr/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Gabriel Arakaki Giovanini pkgname=midr -pkgver=0.1.0 +pkgver=0.1.1 pkgrel=0 pkgdesc="yt-dlp simple frontend" url="https://git.sr.ht/~gabrielgio/midr" @@ -10,7 +10,7 @@ makedepends=" go " builddir="$srcdir/$pkgname-v$pkgver/" -install="$pkgname.pre-install $pkgname.post-install" +install="$pkgname.pre-install" subpackages="$pkgname-openrc" source=" ${pkgname}-${pkgver}.tar.gz::https://artifacts.gabrielgio.me/${pkgname}/${pkgname}-v${pkgver}.tar.gz @@ -27,14 +27,12 @@ build() { . } -check() { - # Replace with proper check command(s) - : -} - package() { - install -Dm755 "$pkgname" "$pkgdir"/usr/bin/"$pkgname" + install -Dm755 "$pkgname" "$pkgdir"/usr/lib/"$pkgname"/"$pkgname" + + mkdir -p "$pkgdir"/usr/bin + ln -s /usr/lib/"$pkgname"/"$pkgname" "$pkgdir"/usr/bin/"$pkgname" install -m755 -D "$srcdir"/$pkgname.initd \ "$pkgdir"/etc/init.d/$pkgname @@ -43,7 +41,7 @@ package() { } sha512sums=" -4b170b6466bdc4da60cf6582ab43ffb55ea09ccef58490453377d07fe38996c0d1a4408c5c68d2f3ab75f607afce443fb86ae5d6c04f7a9be844bf870064c075 midr-0.1.0.tar.gz -512331fd6b4c5621c14b8bf07a94b2318dc33fea245de1e66d6385e1dc4cbfde7cb0d53507b46c85a11defe65a936cca40ace80df76130c7af2ef5999899892c midr.initd -f11f0d192cd7823307c2ce4ddc7b3fff5190f72d3f65a5524b487021a95a222aca1fd36ab1eb58ed533e7acd555bfb70f0c8a13db20338ea31527f3151fd2bd7 midr.confd +a114bfe718d95ad5157aa55870b6bceb61dfcea7e0cb5d76b2ecd3b29a266d1c1e8c1204a4020da798a8bd24210b3eccdf1779311b524897458be511652692ba midr-0.1.1.tar.gz +28927837fb4183509054830bf93342c09123b8589ad1d66272c9e3decef3f83e1cb2d1f30a0a8147edf5628b8834447f87aa7001f76a71e826f16836f72a3436 midr.initd +6329a88c5d88fdc1f8c2b3f009d988dc03d6a3c2bb7e2e9eebaf0002625d74a13c824fd90ff67dcb9cba2fb15008b92e68d57d6f3a5a2c5331d13d5f5b11ff72 midr.confd " -- cgit v1.2.3