summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChris Severance2017-07-26 11:43:42 -0400
committerChris Severance2017-07-26 11:43:42 -0400
commite82afab8f883f330b3f7590bdca91f6ebbb3354a (patch)
tree9c9d9e2728efa60ea2c45063d0455c42de661163 /PKGBUILD
parentd6e1e4cc1f2ca294e288f2742354095421978f1b (diff)
downloadaur-e82afab8f883f330b3f7590bdca91f6ebbb3354a.tar.gz
Cleaner PKGBUILD
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d3723e8f1591..2a01d4fac990 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,9 @@
# Contributor: Jonathan Steel <jsteel at aur.archlinux.org>
set -u
-pkgname='pear-net-socket'
_pkgnick='Net_Socket'
+_pkgnickl="${_pkgnick,,}"
+pkgname="pear-${_pkgnickl//_/-}"
pkgver='1.2.2'
pkgrel='1'
pkgdesc='Net_Socket is a class interface to TCP sockets. It provides blocking and non-blocking operation, with different reading and writing modes'