blob: 54450b358e9824ec1faf36ea899250e6e49b9597 (
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
|
# Maintainer: Steffen Weber <-boenki-gmx-de->
# Contributor: Nick B <Shirakawasuna at gmail _dot_com>
pkgname=juffed
pkgver=0.10
pkgrel=4
pkgdesc="Simple tabbed text editor with syntax highlighting, based on Qt4"
arch=('x86_64')
url="https://github.com/Mezomish/juffed"
license=('GPL2')
makedepends=('cmake')
depends=('qscintilla-qt4' 'enca')
source=(https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-1054.tar.bz2
$pkgname-build-without-error.patch::$url/commit/054bf0c0adf19a0bf5be58cf54049379f50b9211.patch
$pkgname-fix-build-with-enca.patch::$url/commit/0f724eb1463c5bb87d04ebed32ea33d2d6e460ae.patch)
md5sums=('33ca5c94fd4aedb9925e58f8f9ba9a7c'
'e70c3050d06d26a4f3be7d1b04140492'
'22957a35803d971b306d8d726d5f14fe')
prepare() {
cd $pkgname-$pkgver
patch -p1 -i ../$pkgname-build-without-error.patch
patch -p1 -i ../$pkgname-fix-build-with-enca.patch
}
build() {
cd $pkgname-$pkgver
cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_INSTALL_DIR=/usr/lib -DQSCINTILLA_NAMES=qscintilla2_qt4 -DCMAKE_BUILD_TYPE=release
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
|