blob: 7a13548ae33ea853b88c9e4bf0e8d420f865dd84 (
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
32
33
|
# Maintainer: Ryan Kes <alrayyes@gmail.com>
pkgname=corrupter-git
pkgver=r28.0ddcd9b
pkgrel=1
pkgdesc='Simple image glitcher suitable for producing nice looking i3lock backgrounds'
arch=('i686' 'x86_64')
url='https://github.com/r00tman/corrupter'
makedepends=('git' 'go')
provides=("corrupter")
conflicts=("corrupter")
license=('BSD 2-Clause')
md5sums=('SKIP')
source=("git+https://github.com/r00tman/${pkgname%-git}")
pkgver() {
cd "${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${pkgname%-git}"
go build
}
package() {
cd "${pkgname%-git}"
install -Dm755 corrupter "${pkgdir}/usr/bin/corrupter"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname%-git}/LICENSE"
}
|