blob: e0c8f51cb30f19e2026026e78d7bd9ad1ada173f (
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
34
|
_pkgname=ti84cc
pkgname="${_pkgname}-git"
pkgver=r14.29f54c60e384e2008ad31f34f099156e368f659b
pkgrel=1
epoch=
pkgdesc='Compiler for ti84+.'
arch=(any)
url="https://github.com/kuche1/${_pkgname}.git"
liecnse=('ISC')
depends=()
makedepends=(git)
optdepends=()
provides=("${_pkgname}")
source=("git+$url")
md5sums=("SKIP")
pkgver() {
cd "${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse HEAD)"
}
build() {
cd "${_pkgname}"
make -j
}
package() {
cd "${_pkgname}"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
install -Dm644 README "${pkgdir}/usr/share/doc/${_pkgname}/README"
mkdir -p "${pkgdir}/usr/bin/"
cp tibasic "${pkgdir}/usr/bin/${_pkgname}"
}
|