Date: Sunday, February 22, 2015 @ 06:24:34
  Author: bisson
Revision: 128098

update upstream source

Modified:
  subsurface-libdc/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2015-02-22 05:06:10 UTC (rev 128097)
+++ PKGBUILD    2015-02-22 05:24:34 UTC (rev 128098)
@@ -3,7 +3,6 @@
 # Maintainer: Gaetan Bisson <[email protected]>
 
 pkgname=subsurface-libdc
-_pkgname=libdc
 pkgver=4.4.1
 pkgrel=1
 pkgdesc='Library for communication with dive computers'
@@ -10,9 +9,8 @@
 url='http://git.subsurface-divelog.org/'
 license=('LGPL')
 arch=('i686' 'x86_64')
-makedepends=('git')
-source=("git://subsurface-divelog.org/libdc#commit=71cb47287de262d8dc5ecd9d88946d46fbf96f00")
-sha1sums=('SKIP')
+source=("http://subsurface-divelog.org/downloads/${pkgname}-${pkgver}.tgz";)
+sha1sums=('9bd54156dfe4de408092d844955d7a782ab007a6')
 
 conflicts=('libdivecomputer')
 provides=('libdivecomputer')
@@ -19,7 +17,7 @@
 replaces=('libdivecomputer')
 
 build() {
-       cd "${srcdir}/${_pkgname}"
+       cd "${srcdir}/${pkgname}"
        autoreconf --install
        ./configure \
                --prefix=/usr \
@@ -29,6 +27,6 @@
 }
 
 package() {
-       cd "${srcdir}/${_pkgname}"
+       cd "${srcdir}/${pkgname}"
        make DESTDIR="${pkgdir}" install
 }

Reply via email to