updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / pure-sfv / PKGBUILD
blobb35cb38808c08b1d3ad73e3553097ca172b7f564
1 # Contributor: sh0 <mee@sh0.org>
3 pkgname='pure-sfv'
4 pkgver='0.3'
5 pkgrel=1
6 pkgdesc='A utility to both test and create .sfv'
7 url='http://pure-sfv.sourceforge.net/'
8 arch=('i686' 'x86_64')
9 license=('GPL')
10 depends=()
11 source=("http://downloads.sourceforge.net/pure-sfv/${pkgname}_${pkgver}_src.tar.gz")
12 md5sums=('2643118c32184c880cd8935173889449')
14 build() {
15         cd "${srcdir}"
16         sed -i 's:-O2 -g::;s:-Werror::' Makefile || return 1
17         make || return 1
18         install -D -m755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}" || return 1
19         install -D -m644 ReadMe.txt "${pkgdir}/usr/share/doc/${pkgname}-${pkgver}/ReadMe.txt" || return 1