diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2015-02-06 12:41:29 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2015-02-06 12:41:29 -0300 |
commit | af79d5fbd2e870167f439094f4a1ba85b2ad2e38 (patch) | |
tree | 3bdd6b101e9e5461345b2b42bcf3b30177d94d16 /pcr/smartypants/PKGBUILD | |
parent | 1416490658fb1d376129a926572f34b6be8c3283 (diff) | |
parent | 9a4296be7488240f16cd3944f96aea8d936fa276 (diff) |
Merge branch 'master' of git://projects.parabola.nu/abslibre/abslibre
Diffstat (limited to 'pcr/smartypants/PKGBUILD')
-rw-r--r-- | pcr/smartypants/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pcr/smartypants/PKGBUILD b/pcr/smartypants/PKGBUILD new file mode 100644 index 000000000..c803986e8 --- /dev/null +++ b/pcr/smartypants/PKGBUILD @@ -0,0 +1,30 @@ +# Contributor: Daniel Milewski <niitotantei@riseup.net> + +pkgname=smartypants +pkgver=1.5.1 +pkgrel=1 +pkgdesc='Smart punctuation for web sites' +arch=(any) +url=http://daringfireball.net/projects/smartypants/ +license=(BSD3) +depends=(perl) +makedepends=(unzip) +source=(http://daringfireball.net/projects/downloads/SmartyPants_$pkgver.zip) +sha256sums=(2813a12d8dd23f091399195edd7965e130103e439e2a14f298b75b253616d531) + +build() +{ + cd "$srcdir/SmartyPants_$pkgver" + + pod2man SmartyPants.pl > smartypants.1 + sed -n '/^Copyright (c)/,/damage\./p' 'SmartyPants Readme.txt' > LICENSE +} + +package() +{ + cd "$srcdir/SmartyPants_$pkgver" + + install -Dm 755 SmartyPants.pl "$pkgdir/usr/bin/smartypants" + install -Dm 644 smartypants.1 "$pkgdir/usr/share/man/man1/smartypants.1" + install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |