blob: d679120469471e3b8451475747c220df3f15caf4 (
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
30
31
|
# Maintainer: Lukas Waymann <io@meribold.org>
pkgname=elles-git
pkgver=0.1.0.r12.g7a54d93
pkgrel=1
pkgdesc='A nicer /bin/ls'
arch=(x86_64)
url=https://github.com/arp242/elles
license=(MIT)
depends=(glibc)
makedepends=(git)
provides=(elles)
conflicts=(elles)
source=(git+https://github.com/arp242/elles.git)
sha256sums=(SKIP)
pkgver() {
cd "$srcdir/elles" || return
git describe --long --tags | sed 's/^v//; s/-/.r/; s/-/./'
}
build() {
go -C elles build
}
package() {
cd elles || return
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -D elles "$pkgdir/usr/bin/elles"
}
|