summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2fcf442257451ec4e57395ef923a46d027c214ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
pkgname=fortune-mod-vimtips
pkgver=201510719
pkgrel=3
pkgdesc="Vim fortune cookies"
url="https://github.com/hobbestigrou/vimtips-fortune"
arch=(any)
license=(unknown)
depends=(fortune-mod)
source=('https://raw.githubusercontent.com/hobbestigrou/vimtips-fortune/master/fortunes/vimtips')
md5sums=(SKIP)

build() {
    cd ${srcdir}
    strfile -r vimtips
}

package(){
    mkdir -p ${pkgdir}/usr/share/fortune
    cp ${srcdir}/vimtips ${pkgdir}/usr/share/fortune
    cp ${srcdir}/vimtips.dat ${pkgdir}/usr/share/fortune
}