summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3d71c60684e0c2cfa456b6d631152342037fd841 (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: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se>

pkgname=texman
pkgver=1.1
pkgrel=1
pkgdesc='Texinfo-like syntax for manpages'
arch=('any')
url='https://github.com/maandree/texman'
license=('custom:ISC')
depends=('perl')
checkdepends=('perl')
makedepends=('perl' 'coreutils' 'make')
source=(texman-$pkgver.tar.gz::https://github.com/maandree/texman/archive/$pkgver.tar.gz)
sha256sums=(e1a811b6d84cf88785e1801841f2e972c4dda90559f0368efa3ab7034d064719)


build() {
  cd "texman-${pkgver}"
  make PREFIX=/usr
}

check() {
  cd "texman-${pkgver}"
  make check
}

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