[arch-commits] Commit in mlocate/trunk (PKGBUILD)
Gaëtan Bisson
bisson at archlinux.org
Fri Mar 3 21:33:20 UTC 2017
Date: Friday, March 3, 2017 @ 21:33:19
Author: bisson
Revision: 289952
switch to debian upstream, will compile later...
Modified:
mlocate/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-03-03 19:21:54 UTC (rev 289951)
+++ PKGBUILD 2017-03-03 21:33:19 UTC (rev 289952)
@@ -5,40 +5,41 @@
pkgname=mlocate
pkgver=0.26
-pkgrel=5
+pkgrel=6
pkgdesc='Merging locate/updatedb implementation'
-url='https://fedorahosted.org/mlocate/'
+url='https://anonscm.debian.org/cgit/collab-maint/mlocate.git'
arch=('i686' 'x86_64')
license=('GPL')
backup=('etc/updatedb.conf')
depends=('glibc')
-# fedorahosted.org retired as of 2017-03-01, unclear what new upstream should be
-source=("https://fedorahosted.org/releases/m/l/mlocate/mlocate-${pkgver}.tar.xz"
+makedepends=('git')
+_commit=375f2ebb15aa53ca149b4ec33fa9f5b27775809c #tag=debian/0.26-2
+source=("git+https://anonscm.debian.org/cgit/collab-maint/mlocate.git#commit=$_commit"
'updatedb.conf'
updatedb.{timer,service})
-sha1sums=('c6e6d81b25359c51c545f4b8ba0f3b469227fcbc'
- '0150379149bf9d714bc81332d775fc273e7e3535'
- '2f3a94994ece62aeb286315a6fa5e9e03203706a'
- '387185ea34fc65f8457cb40dc374319f0b2490cd')
+sha256sums=('SKIP'
+ 'ea65bb68bb854803965ac16c770ba2567256e2066d68c272f1a1974ffc5c5ee7'
+ '2e813effb651fae101d93722827553c6b9b9d42e898e808db4991eafdd330e02'
+ '83c7a508bad5dccd55a158cf8b8029d680f82cf8b1d21074279def14d9ad4dee')
prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}"
sed -i '/^groupname /s/mlocate/locate/' Makefile.in
}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
make
}
check() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}"
make check
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}"
make DESTDIR="${pkgdir}" install
More information about the arch-commits
mailing list