[arch-commits] Commit in ascii/trunk (PKGBUILD)
Christian Rebischke
shibumi at archlinux.org
Sun Mar 26 01:31:43 UTC 2017
Date: Sunday, March 26, 2017 @ 01:31:42
Author: shibumi
Revision: 219019
upgpkg: ascii 3.15-2 made minor PKGBUILD changes
Modified:
ascii/trunk/PKGBUILD
----------+
PKGBUILD | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-03-26 01:29:25 UTC (rev 219018)
+++ PKGBUILD 2017-03-26 01:31:42 UTC (rev 219019)
@@ -1,4 +1,5 @@
# $Id$
+# Maintainer : Christian Rebischke <Chris.Rebischke at archlinux.org>
# Contributor: Peter Lewis <plewis at aur.archlinux.org>
# Contributor: Grigorios Bouzakis <grbzks at xsmail.com>
# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
@@ -5,25 +6,25 @@
pkgname=ascii
pkgver=3.15
-pkgrel=1
+pkgrel=2
pkgdesc='Utility for conversion between various byte representations and the ASCII character table'
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url='http://www.catb.org/~esr/ascii'
-license=(BSD)
-depends=(glibc)
-source=(http://www.catb.org/~esr/ascii/ascii-$pkgver.tar.gz)
-sha256sums=('ace1db8b64371d53d9ad420d341f2b542324ae70437e37b4b75646f12475ff5f')
+license=('BSD')
+depends=('glibc')
+source=("${pkgname}-${pkgver}.tar.gz::http://www.catb.org/~esr/ascii/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('f03edc2a75421948974a67db607c59e988d116bd6b205b2458296348e00e4ed890a80df64e378ca48c26d9b889eec2276c9e08af1a31c4bdfa05e782926b5356')
build() {
- cd ascii-$pkgver
+ cd "${pkgname}-${pkgver}"
make
}
package() {
- cd ascii-$pkgver
+ cd "${pkgname}-${pkgver}"
- install -D ascii $pkgdir/usr/bin/ascii
- install -D -m644 ascii.1 $pkgdir/usr/share/man/man1/ascii.1
- install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
+ install -D -m755 ascii "${pkgdir}/usr/bin/ascii"
+ install -D -m644 ascii.1 "${pkgdir}/usr/share/man/man1/ascii.1"
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
More information about the arch-commits
mailing list