aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-04-29 03:35:52 -0300
committerKevin Daudt <kdaudt@alpinelinux.org>2019-05-03 18:37:58 +0000
commit7f526407c1d346128edad33ac5bab6326a8e5440 (patch)
treef6db128ed06b805760b5ef3e77c0fa51b1864be3
parente029c3573733802a90c3de471f3f2781e761dceb (diff)
downloadaports-7f526407c1d346128edad33ac5bab6326a8e5440.tar.gz
aports-7f526407c1d346128edad33ac5bab6326a8e5440.tar.bz2
aports-7f526407c1d346128edad33ac5bab6326a8e5440.tar.xz
community/geany: upgrade to 1.35
- Fix url - Fix license - Switch to gtk+3.0 and vte3 - Use modern style
-rw-r--r--community/geany/APKBUILD48
1 files changed, 18 insertions, 30 deletions
diff --git a/community/geany/APKBUILD b/community/geany/APKBUILD
index 1f88b95e97..310431c8fb 100644
--- a/community/geany/APKBUILD
+++ b/community/geany/APKBUILD
@@ -1,16 +1,14 @@
+# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=geany
-pkgver=1.34
+pkgver=1.35
pkgrel=0
pkgdesc="A fast and lightweight IDE"
-url="http://www.geany.org"
+url="https://www.geany.org"
arch="all"
-license="GPL"
+license="GPL-2.0-or-later"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
-makedepends="gtk+-dev intltool perl-xml-parser vte-dev"
-depends=
-depends_dev="gtk+2.0-dev"
-install=
+makedepends="gtk+3.0-dev intltool perl-xml-parser vte3-dev"
replaces="geany-dev"
source="https://download.geany.org/$pkgname-$pkgver.tar.gz
https://download.geany.org/contrib/tags/dbus-glib-0.76.c.tags
@@ -40,32 +38,24 @@ source="https://download.geany.org/$pkgname-$pkgver.tar.gz
set_default_terminal.patch
"
-_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
build() {
- cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- || return 1
- make || return 1
+ --enable-vte \
+ --enable-gtk3
+ make
+}
+
+check() {
+ make check
}
package() {
- cd "$_builddir"
- sed -i 's|MimeType=text/plain;|MimeType=|' geany.desktop || return 1
- sed -i 's|Sh=|Sh=APKBUILD;|' data/filetype_extensions.conf || return 1
- make DESTDIR="$pkgdir" install || return 1
+ sed -i 's|MimeType=text/plain;|MimeType=|' geany.desktop
+ sed -i 's|Sh=|Sh=APKBUILD;|' data/filetype_extensions.conf
+ make DESTDIR="$pkgdir" install
# install the tags
local _tags=
@@ -81,11 +71,9 @@ package() {
dev() {
default_dev
- mv "$subpkgdir"/usr/share/geany/filedefs/*.c "$pkgdir"/usr/share/geany/filedefs/ \
- || return 1
+ mv "$subpkgdir"/usr/share/geany/filedefs/*.c "$pkgdir"/usr/share/geany/filedefs/
mv "$subpkgdir"/usr/share/geany/templates/files/*.c \
- "$pkgdir"/usr/share/geany/templates/files/ \
- || return 1
+ "$pkgdir"/usr/share/geany/templates/files/
rmdir "$subpkgdir"/usr/share/geany/templates/files \
"$subpkgdir"/usr/share/geany/templates \
"$subpkgdir"/usr/share/geany/filedefs \
@@ -93,7 +81,7 @@ dev() {
"$subpkgdir"/usr/share
}
-sha512sums="cf2a57844a0aa2b2f31e76359b87acf60e277a26a6eb1520e6ac3413496957b24f896efbba45d74af22fa60630637dd77dc8f9f3391925cd3a76c148fcc9e70a geany-1.34.tar.gz
+sha512sums="cad23410ff56f858f349885d4522595cbc8c8f5d736ef9d63ca7ff52cb5a2c4d575989b48717cf3532aa5395c4ae09e51ce354fcececfb4a08b91a199b0003f4 geany-1.35.tar.gz
89551143b5557a632b325cceef9c0fa56ea0f9a28d1bd7bed4dba99af5005812702bbf0519f6ce97ce77c362fa454caac8d18c168ffb4af5f91ed6a4df2995e9 dbus-glib-0.76.c.tags
9d06d993ddd3fbc6445a215e327e4d0bfb498bcf0431fff69b66b4fc2163717a313c5a876d0dcd922859f97fb8f5beb20f034dafb99b321be37282f226c76057 drupal.php.tags
1db55822822fe5f9d85ff619c6e2fb9703ed7646eefb8925f8e2f632fb9f6aecaddf1580496e0d9daa9d3d7e466febc80d73ae3955075d1dd92fc238571d5fd1 ethos-1.0.c.tags