aboutsummaryrefslogtreecommitdiffstats
path: root/main/bluefish/APKBUILD
blob: 4b98ec0fe6208424ebcf803b07df27d9da4d39e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Contributor: ScrumpyJack <scrumpyjack@me.com>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=bluefish
pkgver=2.2.7
pkgrel=0
pkgdesc="Bluefish is an editor targeted towards programmers and webdevelopers"
url="http://bluefish.openoffice.nl/"
arch="all"
license="GPL"
depends=""
depends_dev=""
makedepends="libtool libxml2-dev python-dev gtk+3.0-dev enchant-dev \
   gucharmap-dev"
install=""
subpackages="$pkgname-lang $pkgname-doc"
source="http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2"

_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 --prefix=/usr || return 1
        make
}

package() {
        cd "$_builddir"
        make DESTDIR="$pkgdir" install

}

md5sums="533c3ef1e7d5ec369893c0fd4094605c  bluefish-2.2.7.tar.bz2"
sha256sums="23534b73b929754e15b86d12904ca3ffc1b069da5dcd4f34a67e842fe9e858df  bluefish-2.2.7.tar.bz2"
sha512sums="8b9eca746062d47d646805b02370eb9529d449d6a6a9f175353022d9df9060a9736430b6579cdd52717caab75661204e4c940c4a78fb8f6e29845e84a65395ce  bluefish-2.2.7.tar.bz2"