summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core/myththemes/PKGBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/abs/core/myththemes/PKGBUILD b/abs/core/myththemes/PKGBUILD
index 0038f2e..d69042e 100644
--- a/abs/core/myththemes/PKGBUILD
+++ b/abs/core/myththemes/PKGBUILD
@@ -21,11 +21,13 @@ build() {
if [ -d "${srcdir}/${pkgname}" ]
then
cd "${srcdir}/${pkgname}"
- echo "Updating from SVN..."
+ msg "Clean up from previous build..."
+ make distclean
+ msg "Updating from SVN..."
svn up
else
cd "${srcdir}"
- echo "Checking Out from SVN..."
+ msg "Checking Out from SVN..."
svn co "${_svntrunk}/${_svnmod}"
cd "${srcdir}/${pkgname}"
fi
@@ -40,12 +42,10 @@ build() {
done
echo "--------------------------done applying patches-----------------------------------------------"
- # clean up from last build
- make distclean
-
cd "${srcdir}/${pkgname}"
-
./configure --prefix=/usr || return 1
- # basic install
+}
+package() {
+ cd "${srcdir}/${pkgname}"
make INSTALL_ROOT="${pkgdir}" install || return 1
}