summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a8626ec94a7cf4d4b8f9c066ee5d248bfc88f4b0 (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
# Maintainer: csllbr

_pkgname=orgmk
pkgname=orgmk-git
pkgver=r45.42ceb56
pkgrel=1
pkgdesc='Export Org mode documents to HTML, PDF, etc.'
url='https://github.com/fniessen/orgmk'
license=('GPL')
source=('git+https://github.com/fniessen/orgmk.git')
sha256sums=('SKIP')
arch=('any')
depends=('curl')
makedepends=('git')
conflicts=('')
provides=('orgmk')

pkgver() {
  cd "${srcdir}/${_pkgname}"

  # Get the version number.
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "${srcdir}/${_pkgname}"
  make
}

package() {
  cd "${srcdir}/${_pkgname}"
 
  make DESTDIR="$pkgdir/" install
  #make
  # Install the program.
  #install -Dm755 aurvote "${pkgdir}/usr/bin/aurvote"
  #install -Dm644 zsh-completion "${pkgdir}/usr/share/zsh/site-functions/_aurvote"
}