summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorZeph2018-09-15 17:49:11 +0200
committerZeph2018-09-15 17:49:11 +0200
commitfe8da1d4ee4a48048040947d1b00303de9ddbd02 (patch)
treed2cfbca499f8202501dd67a7aaac191c895acc01
parent020d8118b97d251e222e1afab4804476f7f25bb0 (diff)
downloadaur-fe8da1d4ee4a48048040947d1b00303de9ddbd02.tar.gz
Codelite V12.0
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD21
-rw-r--r--codelite.install15
3 files changed, 12 insertions, 32 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4fbd01200ad..5613158aab6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,14 @@
pkgbase = codelite-bin
pkgdesc = A cross platform C/C++/PHP and Node.js IDE written in C++
- pkgver = 11.0.0
+ pkgver = 12.0
pkgrel = 1
url = http://www.codelite.org/
- install = codelite.install
arch = x86_64
license = GPL
makedepends = tar
makedepends = xz
depends = wxgtk3
depends = webkit2gtk
- depends = ffmpeg
- depends = libx264
depends = clang
depends = lldb
depends = libedit
@@ -29,7 +26,8 @@ pkgbase = codelite-bin
provides = codelite
replaces = codelite
replaces = codelite-svn
- source = http://download.opensuse.org/repositories/home:/zeph33:/archlinux/Arch_Extra/x86_64/codelite-11.0.0-1-x86_64.pkg.tar.xz
+ noextract = codelite-12.0-1-x86_64.pkg.tar.xz
+ source = http://download.opensuse.org/repositories/home:/zeph33:/archlinux/Arch_Extra/x86_64/codelite-12.0-1-x86_64.pkg.tar.xz
md5sums = SKIP
pkgname = codelite-bin
diff --git a/PKGBUILD b/PKGBUILD
index 833d7fc33ca..0d801566055 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Contributor: Zeph <zeph33@gmail.com>
# Maintainer: Zeph <zeph33@gmail.com>
pkgname=codelite-bin
-pkgver=11.0.0
+pkgver=12.0
pkgrel=1
_pkgname=codelite
_pkgrel=1
@@ -9,8 +9,7 @@ pkgdesc="A cross platform C/C++/PHP and Node.js IDE written in C++"
arch=('x86_64')
url="http://www.codelite.org/"
license=('GPL')
-depends=('wxgtk3'
- 'webkit2gtk' 'ffmpeg' 'libx264'
+depends=('wxgtk3' 'webkit2gtk'
'clang' 'lldb'
'libedit'
'libssh'
@@ -26,20 +25,18 @@ optdepends=( 'graphviz: callgraph visualization'
'gdb: debugger'
'valgrind: debugger'
)
-install=codelite.install
+
replaces=('codelite' 'codelite-svn')
provides=('codelite')
source=("http://download.opensuse.org/repositories/home:/zeph33:/archlinux/Arch_Extra/${CARCH}/${_pkgname}-${pkgver}-${_pkgrel}-${CARCH}.pkg.tar.xz")
md5sums=('SKIP')
-
-build() {
- cd $srcdir/
-}
+noextract=(${_pkgname}-${pkgver}-${_pkgrel}-${CARCH}.pkg.tar.xz)
package() {
- find "${srcdir}/usr" -type d -exec chmod 755 '{}' \;
- cp -r "${srcdir}/usr" "${pkgdir}"
- mkdir -p "${pkgdir}/usr/lib"
-# ln -s /usr/lib/libclang.so "${pkgdir}/usr/lib/libclang.so.3.8"
+ tar xf "${srcdir}/${_pkgname}-${pkgver}-${_pkgrel}-${CARCH}.pkg.tar.xz" -C "${pkgdir}"
+ rm -f "${pkgdir}/.BUILDINFO"
+ rm -f "${pkgdir}/.MTREE"
+ rm -f "${pkgdir}/.PKGINFO"
+# find "${pkgdir}/usr/bin" -type d -exec chmod 755 '{}' \;
}
diff --git a/codelite.install b/codelite.install
deleted file mode 100644
index cc09a60d1bb..00000000000
--- a/codelite.install
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-post_install() {
- update-mime-database /usr/share/mime &> /dev/null
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
-