aboutsummarylogtreecommitdiffstats
path: root/UPDATING
diff options
context:
space:
mode:
authoryardenac2013-04-11 14:18:53 -0700
committeryar2015-07-03 16:58:23 -0700
commit2a70df31389a9a0a00938e19e2966361f229e194 (patch)
treef80f8279f26d024830b2038a6ce1732214428048 /UPDATING
parent7a62af6b9b9892305a4afd0a35999c755e4f2ef8 (diff)
downloadaur-2a70df31389a9a0a00938e19e2966361f229e194.tar.gz
use prepare()
and updating guide
Diffstat (limited to 'UPDATING')
-rw-r--r--UPDATING23
1 files changed, 10 insertions, 13 deletions
diff --git a/UPDATING b/UPDATING
index 0eae9e20788c..7eea80a33492 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,20 +5,16 @@
# Don't actually run this as a shell script - it's part pseudocode
exit
-# Check https://projects.archlinux.org/svntogit/packages.git/log/trunk?h=packages/linux
-# Bump pkgver, pkgrel
-# Sync any new PKGBUILD logic, important patches, configs or other changes
-
# Cleans things up
makepkg -oecd
-# uncomment "return 1"
-sed -i 's/^[#]*\s*\(return\s*1\)$/\1/ig' PKGBUILD
-
-# sources are ready
-makepkg -cd
+# Check https://projects.archlinux.org/svntogit/packages.git/log/trunk?h=packages/linux
+# Bump pkgver, pkgrel
+# Sync any new PKGBUILD logic, important patches, configs or other changes
+# update hashes
-# will probably fail for hashes, reset hashes & redo
+# prepare sources
+makepkg -o
# may prompt for oldconfig
@@ -34,6 +30,7 @@ diff ../../config.x86_64 .config
cd ../..
cp src/linux-${pkgver}/.config config.x86_64
-# update md5s
-# re-comment "return 1"
-sed -i 's/^[#]*\s*\(return\s*1\)$/# \1/ig' PKGBUILD
+# update md5s + git
+
+# finally:
+makepkg -c