1 self
.description
= "Synchronize the local database"
3 if len("@LIBCURL@") == 0:
4 self
.option
['XferCommand'] = ['/usr/bin/curl %u > %o']
6 sp1
= pmpkg("spkg1", "1.0-1")
7 sp1
.depends
= ["spkg2"]
8 sp2
= pmpkg("spkg2", "2.0-1")
9 sp2
.depends
= ["spkg3"]
10 sp3
= pmpkg("spkg3", "3.0-1")
11 sp3
.depends
= ["spkg1"]
13 for sp
in sp1
, sp2
, sp3
:
14 self
.addpkg2db("sync", sp
)
18 self
.addrule("PACMAN_RETCODE=0")