summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 56bcb921bc7..35f688a29f1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -17,7 +17,7 @@ pkgbase = cope-git
depends = perl-list-moreutils
depends = perl-params-util
depends = perl-regexp-common
- source = cope::git://github.com/lotrfan/cope.git
+ source = git://github.com/lotrfan/cope.git
md5sums = SKIP
pkgname = cope-git
diff --git a/PKGBUILD b/PKGBUILD
index 740b32de076..39a91f8d539 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Contributor: Will Chappell <wtchappell@gmail.com>
# Contributor: denton <e9203.00 gmail com>
pkgname=cope-git
-_pkgname=cope
+_gitname=cope
pkgver=147.64038ce
pkgrel=1
pkgdesc='A colourful wrapper for terminal programs'
@@ -14,17 +14,17 @@ depends=("perl>=5.1" 'perl-class-inspector' 'perl-env-path' 'perl-file-sharedir'
makedepends=('git')
install=$pkgname.install
-source=("$_pkgname::git://github.com/lotrfan/${_pkgname}.git")
+source=("git://github.com/lotrfan/${_gitname}.git")
md5sums=('SKIP')
pkgver() {
- cd "${srcdir}/${_pkgname}"
+ cd "$_gitname"
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
build() {
- cd "${srcdir}/${_pkgname}"
+ cd "$_gitname"
# Make
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
@@ -32,7 +32,7 @@ build() {
}
package() {
- cd "${srcdir}/${_pkgname}"
+ cd "$_gitname"
make install DESTDIR=$pkgdir || return 1