aboutsummaryrefslogblamecommitdiffstats
path: root/main/geany/APKBUILD
blob: da959e6b5d632a4c254bdfd2ae40fa07a7e0dfe7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

                                                   
             










                                                             
         


                                     



                                     



                                                                              
                                                               
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=geany
pkgver=0.18.1
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
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	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="bd1f70a5ee9a7f10c3c4f17bd263a0b1  geany-0.18.1.tar.gz"