diff options
Diffstat (limited to 'main/geany/APKBUILD')
-rw-r--r-- | main/geany/APKBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/main/geany/APKBUILD b/main/geany/APKBUILD new file mode 100644 index 0000000000..cb1f4b9a4d --- /dev/null +++ b/main/geany/APKBUILD @@ -0,0 +1,24 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=geany +pkgver=0.18 +pkgrel=0 +pkgdesc="A fast and lightweight IDE" +url="http://www.geany.org" +license="GPL" +subpackages="$pkgname-dev $pkgname-doc" +makedepends="gtk+-dev intltool perl-xml-parser vte-dev" +depends= +depends_dev="gtk+-dev" +install= +source="http://download.$pkgname.org/$pkgname-$pkgver.tar.gz" + +build() +{ + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr + make || return 1 + 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 +} +md5sums="e5d4075dcb486d3cec958c2bac9ce8f4 geany-0.18.tar.gz" |