aboutsummaryrefslogtreecommitdiffstats
path: root/main/bluefish/APKBUILD
blob: bb39a6b588a599ca186a5659e2b3deb97661d333 (plain) (blame)
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@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=bluefish
pkgver=2.2.8
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="4d576ab2571aea7ed501d34399c6bd43  bluefish-2.2.8.tar.bz2"
sha256sums="32578f955cee3f43e5b3a86e2588e6a679df94438b21dcbe38e3c82282745000  bluefish-2.2.8.tar.bz2"
sha512sums="0450909feb2370c1c84a214744f103bfe891086ba5f3ccc85060b4e134ee2161c3fde641720a3544a4d71c25f120a35925517cee4ffce6e2f07c778baa2cc5c1  bluefish-2.2.8.tar.bz2"