blob: 4dd18e792e3ea20ba9953af0750da439deb3e835 (
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
|
# Contributor: Charlotte Meyer <me at buffets dot email>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=literate-git
pkgver=r340.6a9a3af
pkgrel=1
pkgdesc="A literate programming tool for any language"
arch=('i686' 'x86_64')
url="https://github.com/zyedidia/Literate"
license=('MIT')
makedepends=('git' 'dmd' 'dub')
conflicts=('literate')
provides=('literate')
source=("${pkgname}::git+https://github.com/zyedidia/Literate.git")
sha256sums=('SKIP')
pkgver() {
cd ${pkgname}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd ${pkgname}
make
}
package() {
install -Dm755 "${srcdir}/${pkgname}/bin/lit" "${pkgdir}/usr/bin/lit"
}
|