summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Gysin2015-10-06 00:12:36 +0300
committerChristoph Gysin2015-10-06 00:12:56 +0300
commit20bc8e414a3a9767d03a844e5c8d4a20ea5eff03 (patch)
tree4640645bc6291306abae80a583989fb9db2dd2c7
parent90dbfc8e834fb3d3d989b0cd728532542dd58ff8 (diff)
downloadaur-20bc8e414a3a9767d03a844e5c8d4a20ea5eff03.tar.gz
remove manual git cloning
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD23
2 files changed, 4 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2dd59198b994..72d560371bea 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = pasystray-git
pkgdesc = PulseAudio system tray (a replacement for padevchooser)
- pkgver = 0.5.2.r0.g6709fc1
+ pkgver = 0.5.2.r17.gdd927f3
pkgrel = 1
url = https://github.com/christophgysin/pasystray
install = pasystray.install
diff --git a/PKGBUILD b/PKGBUILD
index e23ce4e07e32..f42a02293913 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Christoph Gysin <christoph.gysin@gmail.com>
_pkgname=pasystray
pkgname=${_pkgname}-git
-pkgver=0.5.2.r0.g6709fc1
+pkgver=0.5.2.r17.gdd927f3
pkgrel=1
pkgdesc="PulseAudio system tray (a replacement for padevchooser)"
arch=('i686' 'x86_64')
@@ -19,34 +19,17 @@ optdepends=(
)
provides=('pasystray')
conflicts=('pasystray')
-backup=()
-options=()
install='pasystray.install'
source=(git+https://github.com/christophgysin/pasystray.git)
-noextract=()
md5sums=('SKIP')
-_gitroot=git://github.com/christophgysin/${pkgname%-git}.git
-_gitname=${pkgname%-git}
-
pkgver() {
cd $_pkgname
git describe --long | sed -r "s/^${pkgname%-git}-//;s/([^-]*-g)/r\\1/;s/-/./g"
}
build() {
- cd "$srcdir"
- msg "Connecting to GIT server...."
- if [[ -d $_gitname ]]; then
- cd $_gitname
- git fetch
- git reset --hard origin/master
- msg "The local files are updated."
- else
- git clone --depth=1 $_gitroot $_gitname
- fi
- msg "GIT checkout done or server timeout"
- cd "$srcdir/$_gitname"
+ cd "$srcdir/$_pkgname"
aclocal
autoconf
@@ -58,6 +41,6 @@ build() {
}
package() {
- cd "$srcdir/$_gitname"
+ cd "$srcdir/$_pkgname"
make DESTDIR="$pkgdir/" install
}