summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e7a2881b153a0663fbe9e9628bf666641595f9fe (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: hadenodom <hadenodom@gmail.com>

pkgname=bullsandcows
pkgver=0.1
pkgrel=1
pkgdesc="A simple implementation of the classic 'Bulls and Cows' game written in Python"
arch=('any')
url="https://github.com/hadenodom/Bulls-and-Cows"
license=('MIT')
depends=('python3')

source=($pkgname::"git+https://github.com/hadenodom/Bulls-and-Cows#branch=master")

md5sums=('SKIP')
# Temporary, until I figure out how to automate making & uploading a new pkgbuild every time the git source changes

package() {
	cd "${srcdir}/${pkgname}"
	ls

	install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"

	mv bullscows.py ${pkgname}

	install -m 755 -d "${pkgdir}/usr/bin"
	install -m 755 -t "${pkgdir}/usr/bin/" "bullsandcows"
}