aboutsummaryrefslogtreecommitdiffstats
path: root/community/mousepad/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-07-13 11:37:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-07-13 11:37:32 +0000
commitf49e80b595b3c074c849f3280747dfcd0208bf17 (patch)
treeedaba7e8eabff98f7dc05d8e62c7a9552bc8c59c /community/mousepad/APKBUILD
parent6174c20f885740756b61a721cdf0c43b8a85373a (diff)
downloadaports-f49e80b595b3c074c849f3280747dfcd0208bf17.tar.gz
aports-f49e80b595b3c074c849f3280747dfcd0208bf17.tar.bz2
aports-f49e80b595b3c074c849f3280747dfcd0208bf17.tar.xz
community/mousepad: upgrade to 0.4.1 and use gtk3
Diffstat (limited to 'community/mousepad/APKBUILD')
-rw-r--r--community/mousepad/APKBUILD33
1 files changed, 11 insertions, 22 deletions
diff --git a/community/mousepad/APKBUILD b/community/mousepad/APKBUILD
index cba3fd4af8..6edd59f95d 100644
--- a/community/mousepad/APKBUILD
+++ b/community/mousepad/APKBUILD
@@ -1,27 +1,22 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mousepad
-pkgver=0.4.0
-pkgrel=2
+pkgver=0.4.1
+pkgrel=0
pkgdesc="Simple Text Editor for Xfce4"
url="http://foo-projects.org/~benny/xfce/apps.html"
arch="all"
license="GPL-2.0-or-later"
-makedepends="gtk+2.0-dev gtksourceview2-dev"
+makedepends="gtk+3.0-dev gtksourceview-dev"
depends="desktop-file-utils"
install=""
subpackages="$pkgname-lang"
source="http://archive.xfce.org/src/apps/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
- Fixup-some-warnings-about-using-NULL-where-it-shoudnt-be.patch
"
-_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- cd "$_builddir"
- update_config_sub || return 1
-}
+builddir="$srcdir"/$pkgname-$pkgver
build () {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -29,20 +24,14 @@ build () {
--sysconfdir=/etc \
--libexecdir=/usr/lib/xfce4 \
--localstatedir=/var \
- --disable-gtk3 \
- --disable-static \
- || return 1
- make || return 1
+ --enable-gtk3 \
+ --disable-static
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
-md5sums="f55314c5dda6323883241e6cf01550a7 mousepad-0.4.0.tar.bz2
-b31ccd05bbfdaf185970e592be9ebd9e Fixup-some-warnings-about-using-NULL-where-it-shoudnt-be.patch"
-sha256sums="60114431eac8db6bb6ce18bd38f1630cccb684375b97a445a1b6fd619848d132 mousepad-0.4.0.tar.bz2
-bccc5354e3eca83c608ab952188f4a47605d88cad7e2b48fa426f2057a122c9d Fixup-some-warnings-about-using-NULL-where-it-shoudnt-be.patch"
-sha512sums="5196abd04268d1ace118dc485b72bfcfb7f9175eeaf52bc97c08c1646371d26401403a3bb199d882380bcb998547c65af9bd054f0365afd846c0ad74d3c3b1fe mousepad-0.4.0.tar.bz2
-886e2ff78d8a9083d71421fed8fdc8eea308da75bffb0f2eb6edd09c6606fc2a6706b0354a0f18191f3090e381d8885ea9961360c5cdcd959c4974959a176741 Fixup-some-warnings-about-using-NULL-where-it-shoudnt-be.patch"
+sha512sums="2ffbb4245a3344437bd41f9f28cc066ae45062f6b6d169aa274e933f033c434f0b10845ccf42ab846dcad25ae7cee36ea6619bfb6889e8cd41c994be87b77be8 mousepad-0.4.1.tar.bz2"