diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/smartypants/PKGBUILD | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/pcr/smartypants/PKGBUILD b/pcr/smartypants/PKGBUILD index c803986e8..d845b1f6b 100644 --- a/pcr/smartypants/PKGBUILD +++ b/pcr/smartypants/PKGBUILD @@ -2,7 +2,7 @@ pkgname=smartypants pkgver=1.5.1 -pkgrel=1 +pkgrel=2 pkgdesc='Smart punctuation for web sites' arch=(any) url=http://daringfireball.net/projects/smartypants/ @@ -12,16 +12,14 @@ makedepends=(unzip) source=(http://daringfireball.net/projects/downloads/SmartyPants_$pkgver.zip) sha256sums=(2813a12d8dd23f091399195edd7965e130103e439e2a14f298b75b253616d531) -build() -{ +build() { cd "$srcdir/SmartyPants_$pkgver" pod2man SmartyPants.pl > smartypants.1 sed -n '/^Copyright (c)/,/damage\./p' 'SmartyPants Readme.txt' > LICENSE } -package() -{ +package() { cd "$srcdir/SmartyPants_$pkgver" install -Dm 755 SmartyPants.pl "$pkgdir/usr/bin/smartypants" |