summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ef1da7152b88ea4d280e9d8e96e9e393e73284ae (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=2
pkgdesc='Learn to type pacman by showing an image of a Pam Can when typing pamcan'
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: