blob: 55de79e466c31c5a3b1a567793d652dde37f32b2 (
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
25
26
27
28
29
|
# Maintainer: kamisaki
pkgname=cliwrap-git
pkgver=0.9.3.r1.g9783b2f
pkgrel=1
pkgdesc="The Spotify Wrapped for your terminal!"
arch=('any')
url="https://github.com/islemci/cliwrap"
license=('MIT')
depends=()
makedepends=('git')
source=("git+$url.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/cliwrap"
git describe --long --tags | sed 's/-/./g'
}
build() {
cd "$srcdir/cliwrap"
chmod +x cliwrap
}
package() {
cd "$srcdir/cliwrap"
install -Dm755 cliwrap "$pkgdir/usr/bin/cliwrap"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|