summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: de01222dbb34db284be9590fcb16e58cae6107d1 (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
# Maintainer: bzt <unmacaque (at) gmail (dot) com>

pkgname=mod_markdown
pkgver=1.0.3
pkgrel=1
pkgdesc="Markdown filter module for Apache HTTPD Server"
arch=('i686' 'x86_64')
url="https://github.com/hamano/apache-mod-markdown"
license=('APACHE')
depends=('apache' 'discount')
_srcname=apache-mod-markdown
source=("https://github.com/hamano/$_srcname/archive/$pkgver.tar.gz")
sha256sums=("62111266af0a1ee5ea7e595caf94ea33d1459d633ae0e063edc173fae243810f")

build() {
  cd "$_srcname-$pkgver"
  autoreconf -f -i
  ./configure --with-apxs=/usr/bin/apxs --with-discount=/usr
  make
}

package() {
  cd "$_srcname-$pkgver"
  make DESTDIR="$pkgdir/" install
}