blob: 78beda18d095cf1b3fc65ef8e9ccc00b3edeb518 (
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
|
# Maintainer: Wojciech Kepka <wojtek.kepka@protonmail.com>
pkgname=gomd-git
pkgver=1.3.3.694d191
pkgrel=1
epoch=
pkgdesc="Quick webserver displaying formatted markdown files"
arch=('x86_64' 'i686')
url="https://github.com/wojciechkepka/gomd"
license=('MIT')
depends=()
makedepends=('sassc' 'nodejs-clean-css-cli' 'uglify-js' 'make' 'go')
provides=("gomd")
conflicts=("gomd")
sha1sums=('SKIP')
source=("$pkgname::git+https://github.com/wojciechkepka/gomd")
build() {
cd "$pkgname"
make
}
pkgver() {
cd "$pkgname"
echo "$(git log -1 --format=%cd.%h --date=short|tr -d -)"
}
package() {
cd "$pkgname"
install -Dm755 "build/gomd" "$pkgdir/usr/bin/gomd"
}
|