diff options
author | Marcel Huber | 2016-07-06 10:30:11 +0200 |
---|---|---|
committer | Marcel Huber | 2016-07-06 14:54:21 +0200 |
commit | d6387148f388e09892418a1a8d36a2d3132ba2db (patch) | |
tree | 6467f12fd10366eced059fec4918a41a1cc939bc | |
parent | 9126e9434a407fcbad901e918ffdd2648df775d7 (diff) | |
download | aur-d6387148f388e09892418a1a8d36a2d3132ba2db.tar.gz |
update cevelop to version 1.5.0
- add optional packages message for boost
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 17 | ||||
-rw-r--r-- | README.md | 14 | ||||
-rwxr-xr-x | buildandcopy.sh | 26 | ||||
-rwxr-xr-x | cevelop.sh | 4 |
5 files changed, 57 insertions, 17 deletions
@@ -1,6 +1,6 @@ pkgbase = cevelop pkgdesc = The C++ IDE for professional developers - pkgver = 1.4.0 + pkgver = 1.5.0 pkgrel = 1 url = https://www.cevelop.com install = cevelop.install @@ -15,6 +15,7 @@ pkgbase = cevelop depends = glibc>2.14 depends = python optdepends = hicolor-icon-theme + optdepends = boost provides = cevelop source = cevelop.sh source = LICENSE @@ -23,17 +24,17 @@ pkgbase = cevelop source = https://github.com/Cevelop/cevelop.github.io/raw/master/img/logo-square-48.png source = https://github.com/Cevelop/cevelop.github.io/raw/master/img/logo-square-256.png source = https://github.com/Cevelop/cevelop.github.io/raw/master/img/logo-square.svg - sha256sums = 640fd01c6ca0b8d817140e441e47a6949406a67dae3abc96ef8cba22153573d6 + sha256sums = cedcc248a90de4b96277ffc788371db2f2090d9a6c285db3b14e3d6a27f5cb30 sha256sums = 578aea66235898a6f6d25420f5251b4df0e2a08be4302d9ab2a9e7e54359cb1b sha256sums = e88728544af4f6924784cb2885f3d86d4bd5cceb918f8fc552126b3f93288830 sha256sums = 7c31396b3facdf0a5ff57e2ee8a5ea0ff741955048e34116d4296ffa35e74218 sha256sums = 98ab055ecde507b6603743ab40db3dfdb6d6b3b24cb5fff244982ae641d865a0 sha256sums = d99f2f3b58aef682fcab7d1cedf20fc4fc44152c6b964af49212a9e7f4d35def sha256sums = ebd2b54d0487de845093cabda98d5e0977f436fc10d40f15d2cb1598084222e4 - source_i686 = https://www.cevelop.com/cevelop/downloads/cevelop-1.4.0-201512021228-linux.gtk.x86.tar.gz - sha256sums_i686 = 4e47ed3004af209d130540a26877067372b849d922f503cd6a9f0dbb3f84a761 - source_x86_64 = https://www.cevelop.com/cevelop/downloads/cevelop-1.4.0-201512021228-linux.gtk.x86_64.tar.gz - sha256sums_x86_64 = c08a3781e2f6573f47a74a9d8cbc27e35755d3e3203eeb103ad93d05a7b4a7e8 + source_i686 = https://www.cevelop.com/cevelop/downloads/cevelop-1.5.0-201607061232-linux.gtk.x86.tar.gz + sha256sums_i686 = afae5510377d00c916dea0a32a1faf0549d615142a583cf8c9f41159cc5a10ac + source_x86_64 = https://www.cevelop.com/cevelop/downloads/cevelop-1.5.0-201607061232-linux.gtk.x86_64.tar.gz + sha256sums_x86_64 = bcc57bc59988d6b159b43fee25559dbb484cb0ac04aa15fd8faa0f9e4feade6c pkgname = cevelop @@ -1,7 +1,8 @@ # Maintainer: Marcel Huber <marcelhuberfoo@gmail.com> pkgname=cevelop -pkgver=1.4.0 +pkgver=1.5.0 +_srctimestamp=201607061232 pkgrel=1 pkgdesc="The C++ IDE for professional developers" license=('custom') @@ -9,24 +10,24 @@ arch=('i686' 'x86_64') url='https://www.cevelop.com' makedepends=(gendesk libarchive) depends=(java-environment webkitgtk2 unzip "glibc>2.14" python) -optdepends=('hicolor-icon-theme') +optdepends=(hicolor-icon-theme boost) provides=('cevelop') install=${pkgname}.install source=(cevelop.sh LICENSE https://github.com/Cevelop/cevelop.github.io/raw/master/img/logo-square-{16,32,48,256}.png https://github.com/Cevelop/cevelop.github.io/raw/master/img/logo-square.svg) -source_i686=(https://www.cevelop.com/cevelop/downloads/cevelop-1.4.0-201512021228-linux.gtk.x86.tar.gz) -source_x86_64=(https://www.cevelop.com/cevelop/downloads/cevelop-1.4.0-201512021228-linux.gtk.x86_64.tar.gz) -sha256sums=('640fd01c6ca0b8d817140e441e47a6949406a67dae3abc96ef8cba22153573d6' +source_i686=(https://www.cevelop.com/cevelop/downloads/cevelop-${pkgver}-${_srctimestamp}-linux.gtk.x86.tar.gz) +source_x86_64=(https://www.cevelop.com/cevelop/downloads/cevelop-${pkgver}-${_srctimestamp}-linux.gtk.x86_64.tar.gz) +sha256sums=('cedcc248a90de4b96277ffc788371db2f2090d9a6c285db3b14e3d6a27f5cb30' '578aea66235898a6f6d25420f5251b4df0e2a08be4302d9ab2a9e7e54359cb1b' 'e88728544af4f6924784cb2885f3d86d4bd5cceb918f8fc552126b3f93288830' '7c31396b3facdf0a5ff57e2ee8a5ea0ff741955048e34116d4296ffa35e74218' '98ab055ecde507b6603743ab40db3dfdb6d6b3b24cb5fff244982ae641d865a0' 'd99f2f3b58aef682fcab7d1cedf20fc4fc44152c6b964af49212a9e7f4d35def' 'ebd2b54d0487de845093cabda98d5e0977f436fc10d40f15d2cb1598084222e4') -sha256sums_i686=('4e47ed3004af209d130540a26877067372b849d922f503cd6a9f0dbb3f84a761') -sha256sums_x86_64=('c08a3781e2f6573f47a74a9d8cbc27e35755d3e3203eeb103ad93d05a7b4a7e8') +sha256sums_i686=('afae5510377d00c916dea0a32a1faf0549d615142a583cf8c9f41159cc5a10ac') +sha256sums_x86_64=('bcc57bc59988d6b159b43fee25559dbb484cb0ac04aa15fd8faa0f9e4feade6c') prepare() { gendesk -n --pkgname "$pkgname" \ @@ -38,9 +39,7 @@ package() { install -m755 -d $pkgdir/usr/{bin,share/applications,share/licences/,lib/$pkgname} install -m755 -d $pkgdir/usr/share/icons/hicolor/{16x16,32x32,48x48,256x256,scalable}/apps bsdtar cf - --cd $pkgname-$pkgver \ - --exclude ./lib*.so.* \ --exclude ./icon.xpm \ - --exclude ./detect-libc \ --exclude ./cevelop.desktop \ --exclude ./cevelop.sh . | bsdtar xf - --cd $pkgdir/usr/lib/$pkgname/ install -Dm755 "$pkgname.sh" "$pkgdir/usr/bin/$pkgname" diff --git a/README.md b/README.md index 757c43f6cad0..9a9b4aface84 100644 --- a/README.md +++ b/README.md @@ -4,3 +4,17 @@ arch-cevelop ArchLinux PKGBUILD for Cevelop C++ IDE from https://cevelop.com/ The package source build is submitted to AUR at: https://aur.archlinux.org/packages/cevelop/ + +Building and submitting the package +---------------------- + +* Update PKGBUILD and set `pkgver` and `_srctimestamp` to match new version from https://www.cevelop.com/cevelop/downloads/ +* Update the checksums using `updpkgsums` +* Make the package using `makepkg --force --nodeps --cleanbuild` +* Check the submitting guidelines at https://wiki.archlinux.org/index.php/Arch%20User%20Repository#Submitting%20packages +* `makepkg --printsrcinfo > .SRCINFO` +* `git add .SRCINFO` +* `git commit -m "useful commit message"` +* `git push origin` + +To automate most of the steps, you could also use the `buildandcopy.sh` script provided. diff --git a/buildandcopy.sh b/buildandcopy.sh new file mode 100755 index 000000000000..8593b99e2c6f --- /dev/null +++ b/buildandcopy.sh @@ -0,0 +1,26 @@ +#!/bin/sh + +thedirs="." +repodir=/home/own-repo + +thingsToDo=( + 'for n in $thedirs; do ( cd $n && updpkgsums; makepkg --force --nodeps --nobuild; makepkg --printsrcinfo > .SRCINFO ); done' + 'git diff --quiet --no-ext-diff --exit-code && echo clean || ( git diff -b -w && git add -p && git commit ) || true' + 'for n in $thedirs; do ( cd $n && updpkgsums; makepkg --force --nodeps --cleanbuild ); done' + 'test -n "$repodir" -a -d "$repodir" && for n in $thedirs; do for pkgdir in $(find $n -name "*.tar.xz" -printf "%h\n" | sort | uniq); do cpfn=$(ls -tc1 $pkgdir/*.tar.xz | head -1); echo "move [$cpfn]? (y*|n)"; read v; if [ ! "$v" = "n" -a ! "$v" = "N" ]; then sh -c "mv --interactive --update $cpfn $repodir && ( repo-add --new --quiet ${repodir}/ownrepo.db.tar.gz $repodir/$(basename $cpfn); )"; fi; done; done' + 'git push origin' + 'for n in $thedirs; do ( cd $n && makepkg --nodeps --noextract --force --nobuild --noarchive --nocheck --noprepare --skipinteg --clean ); done' +) + +set -e + +for n in "${thingsToDo[@]}"; do + echo "Continue with [$n] (y*|n)?" + read v + if [ "$v" = "n" -o "$v" = "N" ]; then + echo "..command skipped.."; + else + eval "$n"; + fi +done + diff --git a/cevelop.sh b/cevelop.sh index b159fb6afa12..358945b6d668 100755 --- a/cevelop.sh +++ b/cevelop.sh @@ -1,7 +1,7 @@ #!/bin/sh -# Disable GTK3 because it seems to cause more problems and has no benefits for now -export SWT_GTK3=0 +# Disable GTK3 if it seems to cause problems +# export SWT_GTK3=0 export ECLIPSE_HOME=/usr/lib/cevelop exec "$ECLIPSE_HOME/runner" "$@" |