diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-06-30 19:35:07 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-06-30 19:35:07 -0300 |
commit | 0bdf0e254112eae0332b4ae85f417abb7091f690 (patch) | |
tree | 0778e5d2b94fb31c3238a0d19c870ac7ef9abc9c /rePKGBUILD.proto | |
parent | 8a97ce469507f3c4c0ea06ad0025b57405e42283 (diff) | |
parent | 8a385be009f51b1af2cd8fd82c08b6b7c2c7f8b0 (diff) |
Merge branch 'master' of ssh://vparabola/srv/git/projects/libretools
Conflicts:
toru
Diffstat (limited to 'rePKGBUILD.proto')
-rw-r--r-- | rePKGBUILD.proto | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/rePKGBUILD.proto b/rePKGBUILD.proto index 5ef53c1..c8b19bf 100644 --- a/rePKGBUILD.proto +++ b/rePKGBUILD.proto @@ -6,22 +6,23 @@ # Maintainer: Your Name <youremail@domain.com> source PKGBUILD unset build package md5sums source -_repo= # Put the repo here +_repo= # Put the repo here +_mirror=http://mirrors.kernel.org/archlinux # Put mirror here source=(PKGBUILD - http://mirrors.kernel.org/archlinux/${_repo}/os/${CARCH}/${pkgname%-libre}-$pkgver-$pkgrel-$CARCH$PKGEXT - # files for pkg modifications + "${_mirror}/${_repo}/os/${CARCH}/${pkgname%-libre}-$pkgver-$pkgrel-$CARCH$PKGEXT" + # files for pkg modifications below this line ) build() { cd "${srcdir}/" - rm .{INSTALL,PKGINFO} ${pkgname%-libre}-$pkgver-$pkgrel-$CARCH$PKGEXT + rm .{INSTALL,PKGINFO} # put actions for package modifications below this line } package() { - cd ${srcdir} - cp -a ./* ${pkgdir} + find ${srcdir} -maxdepth 1 -type l -delete + cp -a ${srcdir}/* ${pkgdir} } |