summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a65c0fae54fa194cf16ef4d95b3b1034944d6e77 (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
pkgname='groff-dejavu'
pkgdesc="Generates required files to use DejaVu fonts in groff."
pkgrel=1
pkgver=2
arch=('any')
license=('GPL3')
depends=('groff' 'ttf-dejavu')
makedepends=('fontforge')
source=('build' 'groff-dejavu.sh')
provides=('groff-dejavu')
sha256sums=('SKIP' 'SKIP')

build () {
  ./build
}

package () {
    install -d "${pkgdir}/usr/local/share"
    install -d "${pkgdir}/etc/profile.d"
    cp -r "${srcdir}/font" "${pkgdir}/usr/local/share/groff-dejavu" 
    cp "${srcdir}/groff-dejavu.sh" "${pkgdir}/etc/profile.d" 
}

# vim:set ts=2 sw=2 et: