summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 11d5587f47b25f0a9ef92e63d4090f85183c8ed0 (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
35
36
37
38
39
40
#Maintainer: Stavros Polymenis <sp orbitalfox.com>
pkgname=yamado-git
pkgver=150715alpha
pkgrel=1
pkgdesc="Yamado is a minimal note & journal system with extensions for functioning as a homepage & blog."
arch=(any)
url="http://orbifx.github.io/yamado/"
license=('AGPL3')
groups=(portal)
depends=(markdown)
makedepends=(git)
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(git+https://github.com/orbifx/yamado.git)
noextract=()
md5sums=('SKIP')

pkgver() {
  cd yamado
  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd yamado

#  ./configure --prefix=/usr
  make
}

package() {
  cd yamado
  
  make DESTDIR="$pkgdir" install
}