[arch-commits] Commit in uptimed/trunk (PKGBUILD)

Sergej Pupykin spupykin at archlinux.org
Sun Nov 2 20:01:15 UTC 2014


    Date: Sunday, November 2, 2014 @ 21:01:14
  Author: spupykin
Revision: 121723

upgpkg: uptimed 0.3.18-1

upd

Modified:
  uptimed/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-02 20:01:10 UTC (rev 121722)
+++ PKGBUILD	2014-11-02 20:01:14 UTC (rev 121723)
@@ -5,21 +5,22 @@
 # Contributor: Tom Newsom <Jeepster at gmx.co.uk>
 
 pkgname=uptimed
-pkgver=0.3.17
-pkgrel=5
+pkgver=0.3.18
+pkgrel=1
 pkgdesc="A system uptime record daemon"
 arch=(i686 x86_64)
-url="http://podgorny.cz/uptimed/"
+#url="http://podgorny.cz/uptimed/"
+url="https://github.com/rpodgorny/uptimed"
 license=('GPL')
-depends=('glibc' 'bash')
+depends=()
 backup=(etc/uptimed.conf)
 install=$pkgname.install
-source=(http://podgorny.cz/$pkgname/releases/$pkgname-$pkgver.tar.bz2
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rpodgorny/uptimed/archive/v$pkgver.tar.gz"
         service)
-md5sums=('528b62c33454b33537c3bf2366977bdb'
+md5sums=('f76a5f549833590e84e23b955cc1f894'
          '6d1e97b9c54d622edc0bd607acbf3c10')
 
-build() {
+prepare() {
   cd $srcdir/$pkgname-$pkgver
 
   # Change log path to Arch standard
@@ -27,11 +28,10 @@
     sed -i "s|/var/spool/uptimed|/var/log/uptimed|" $M
   done
   sed -i 's|spool|log|' libuptimed/urec.h
-  sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADER|g' configure.ac
+}
 
-  autoreconf -i
-  libtoolize --force
-
+build() {
+  cd $srcdir/$pkgname-$pkgver
   ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin
   make
 }
@@ -39,7 +39,6 @@
 package() {
   cd $srcdir/$pkgname-$pkgver
   make install DESTDIR=$pkgdir
-
   mv $pkgdir/etc/uptimed.conf-dist $pkgdir/etc/uptimed.conf
   install -Dm644 $srcdir/service $pkgdir/usr/lib/systemd/system/uptimed.service
 }


More information about the arch-commits mailing list