blob: 551c5948fed05cacd7f4a64b3344f7dd84911266 (
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
|
# Maintainer: Butui Hu <hot123tea123@gmail.com>
pkgname=emake-git
_pkgname=emake
pkgver=3.6.12.r79.6d14575
_pkgver=3.6.12
pkgrel=2
pkgdesc='Yet the simplest build toolchain for gcc/clang projects'
arch=('any')
url='https://github.com/skywind3000/emake'
license=('GPL-2.0-or-later')
depends=(python)
makedepends=(git)
provides=(emake)
conflicts=(emake)
source=("${pkgname}::git+https://github.com/skywind3000/emake.git")
sha512sums=('SKIP')
pkgver() {
cd "${pkgname}"
_ver=$(printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)")
echo "${_pkgver}.${_ver}"
}
package() {
cd "${pkgname}"
install -Dm755 "${srcdir}/${pkgname}/${_pkgname}.py" "${pkgdir}/usr/bin/${_pkgname}"
install -Dm755 "${srcdir}/${pkgname}/README.md" -t "${pkgdir}/usr/share/doc/${_pkgname}"
cp -rvf "${srcdir}/${pkgname}/sample" -t "${pkgdir}/usr/share/doc/${_pkgname}"
}
# vim:set ts=2 sw=2 et:
|