blob: 49bbdd9f374b64150d76b5528496751ec5fa74db (
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
|
# Maintainer: Alexander F Rødseth <xyproto@archlinux.org>
pkgname=pamcan
pkgver=0.1
pkgrel=1
pkgdesc='Output an image of a Pam can on the console'
arch=('x86_64')
url='https://github.com/xyproto/pamcan/'
license=('MIT')
makedepends=('go')
source=("https://github.com/xyproto/pamcan/releases/download/0.1/pamcan-0.1.tar.gz")
sha256sums=('150934000c6f407f746b5a10fc4d0cdc987a3f85d86528b03321f272643ea7c3')
build() {
cd "$pkgname-$pkgver"
go build
}
package() {
cd "$pkgname-$pkgver"
install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:ts=2 sw=2 et:
|