summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 41f4e6c63083517b3a66930be364ff4ecdf873d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
pkgname=stow-cm
pkgver=nightly
pkgrel=1
pkgdesc="config manager (gun-stow like)"
arch=('x86_64')
url="https://github.com/someoneonsmile/${pkgname}"
license=('GPL2')
# depends=('coreutils')
makedepends=()
conflicts=()
source=("${pkgname}.tar.gz::https://github.com/someoneonsmile/${pkgname}/releases/download/nightly/${pkgname}-x86_64-unknown-linux-musl.tar.gz")
sha512sums=('SKIP')

pkgver() {
  sha256sum ${pkgname}.tar.gz | cut -d ' ' -f 1
}

package() {
  cd "$srcdir/${pkgname}-x86_64-unknown-linux-musl"
  install -Dm755 "${pkgname}" "$pkgdir/usr/bin/$pkgname"
  install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}