diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-11-09 03:11:06 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-11-09 03:11:06 (GMT) |
commit | dd1e1c12f00a59abd13542d0babe0221f1410920 (patch) | |
tree | f87d8c9917a24d1c19bca572af5472e79541edd6 | |
parent | 77fdb63da0abe101d2a110586f51a17f0d49549c (diff) | |
download | linhes_pkgbuild-dd1e1c12f00a59abd13542d0babe0221f1410920.zip linhes_pkgbuild-dd1e1c12f00a59abd13542d0babe0221f1410920.tar.gz linhes_pkgbuild-dd1e1c12f00a59abd13542d0babe0221f1410920.tar.bz2 |
myththemes: cosmetic PKGBUILD tweaks
-rw-r--r-- | abs/core/myththemes/PKGBUILD | 14 |
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 } |