diff options
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 6 insertions, 13 deletions
@@ -5,10 +5,9 @@ pkgbase = stow-cm url = https://github.com/someoneonsmile/stow arch = x86_64 license = GPL2 - makedepends = cargo depends = gcc-libs conflicts = stow - source = stow-cm::git+https://github.com/someoneonsmile/stow.git + source = stow-cm.tar.gz::https://github.com/someoneonsmile/stow/releases/download/nightly/stow-nightly-x86_64-unknown-linux-musl.tar.gz sha512sums = SKIP pkgname = stow-cm @@ -7,23 +7,17 @@ arch=('x86_64') url="https://github.com/someoneonsmile/stow" license=('GPL2') depends=('gcc-libs') -makedepends=('cargo') +makedepends=() conflicts=('stow') -source=("${pkgname}::git+https://github.com/someoneonsmile/stow.git") +source=("${pkgname}.tar.gz::https://github.com/someoneonsmile/stow/releases/download/nightly/stow-nightly-x86_64-unknown-linux-musl.tar.gz") sha512sums=('SKIP') pkgver() { - cd "$srcdir/${pkgname}" - printf "nightly-%s.%s" "$(git rev-list --count nightly)" "$(git rev-parse --short nightly)" -} - -build() { - cd "stow-$pkgver" - cargo build --release + printf "nightly" } package() { cd "stow-$pkgver" - install -Dm755 "target/release/stow" "$pkgdir/usr/bin/stow" - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm755 "*/stow" "$pkgdir/usr/bin/stow-cm" + install -Dm644 "*/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |