summaryrefslogtreecommitdiff
path: root/rePKGBUILD.proto
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-26 13:10:29 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-26 13:10:29 -0500
commit405c965328f24b7db87aa45f8cc2f513e57d20e5 (patch)
tree2fc8b62fb7fdb7cab4569c01c0ea198d2113ff79 /rePKGBUILD.proto
parente8544402d87c10c0f0b5186800960a99617458ba (diff)
rePKGBUILD proto deletes symlinks in ${srcdir}
Diffstat (limited to 'rePKGBUILD.proto')
-rw-r--r--rePKGBUILD.proto6
1 files changed, 3 insertions, 3 deletions
diff --git a/rePKGBUILD.proto b/rePKGBUILD.proto
index 5ef53c1..0126ee0 100644
--- a/rePKGBUILD.proto
+++ b/rePKGBUILD.proto
@@ -14,14 +14,14 @@ source=(PKGBUILD
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} -type l -maxdepth 1 -delete
+ cp -a ${srcdir}/* ${pkgdir}
}