author | Alexander Rødseth
<xyproto@archlinux.org> 2016-05-15 15:30:49 UTC |
committer | Alexander Rødseth
<xyproto@archlinux.org> 2016-05-15 15:30:49 UTC |
parent | 59c970641020fc271222c60773d89ec0f6e1521d |
PKGBUILD | +4 | -5 |
geany.install | +0 | -14 |
diff --git a/PKGBUILD b/PKGBUILD index 871929b..7782c07 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -6,7 +6,7 @@ pkgname=geany pkgver=1.27 -pkgrel=1 +pkgrel=2 pkgdesc='Fast and lightweight IDE' arch=('x86_64' 'i686') url='http://www.geany.org/' @@ -16,16 +16,15 @@ makedepends=('perl-xml-parser' 'intltool') optdepends=('geany-plugins: various extra features' 'vte: terminal support' 'python2') -install="$pkgname.install" source=("http://download.geany.org/$pkgname-$pkgver.tar.bz2") sha256sums=('846ff699a5944c5c3c068ae0199d4c13946a668bfc6d03f8c79765667c20cadf') prepare() { cd "$pkgname-$pkgver" - + # Python2 fix - sed -i '0,/on/s//on2/' data/templates/files/main.py - + sed -i '0,/on/s//on2/' data/templates/files/main.py + # Syntax highlighting for PKGBUILD files sed -i 's/Sh=/Sh=PKGBUILD;/' data/filetype_extensions.conf } diff --git a/geany.install b/geany.install deleted file mode 100644 index 6611577..0000000 --- a/geany.install +++ /dev/null @@ -1,14 +0,0 @@ -post_upgrade() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor - update-desktop-database -q -} - -post_install() { - post_upgrade -} - -post_remove() { - post_upgrade -} - -# vim:set ts=2 sw=2 et: