blob: a69a8435b028b27e751ff52e380c3c8e723b8cbc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: orhun <orhunparmaksiz@gmail.com>
# https://github.com/orhun/pkgbuilds
pkgname=dra-bin
pkgver=0.6.0
pkgrel=1
pkgdesc="A command line tool to download assets from GitHub releases"
arch=('x86_64')
url="https://github.com/devmatteini/dra"
license=('MIT')
depends=('zlib' 'xz')
conflicts=("${pkgname%-bin}")
provides=("${pkgname%-bin}")
source_x86_64=("$pkgname-$pkgver.tar.gz::$url/releases/download/$pkgver/${pkgname%-bin}-$pkgver-x86_64-unknown-linux-gnu.tar.gz")
sha512sums_x86_64=('7a75a8c498471a7435153785127c83b184349c50206ed8b162b227de5bac1d74f56098bf168c5d4f46018a6e4996b8a4affeee457d04f6ecbb76b7a5b3b128d5')
package() {
cd "${pkgname%-bin}-$pkgver-x86_64-unknown-linux-gnu"
install -Dm 755 "${pkgname%-bin}" -t "${pkgdir}/usr/bin"
install -Dm 644 "README.md" "$pkgdir/usr/share/doc/$pkgname/README.md"
install -Dm 644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|