blob: 19ca2e0fd7ac894c58b1bfd08a442e522bff9803 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Maintainer: Nina <nina@l1f.de>
pkgname=viddy
pkgver=0.3.2
pkgrel=1
pkgdesc="A modern watch command"
arch=('x86_64')
url="https://github.com/sachaos/viddy"
license=('MIT')
makedepends=('go')
updpkgsums=('8fde418465965bf973eeca517af43b40')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/sachaos/viddy/archive/v${pkgver}.tar.gz")
md5sums=('8c8b46e5d404e14bcd39fdf22a39593f')
build() {
cd "$pkgname-$pkgver"
go build -o "$pkgname" -ldflags "-s -w -X main.version=$pkgver"
}
package() {
cd "$pkgname-$pkgver"
install -Dm755 "$pkgname" -t "$pkgdir/usr/bin"
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
}
|