blob: 1052a3c51cdc38721f932858b8c193e7a947b07b (
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
44
|
# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
pkgname=it-edit-git
pkgver=2.0.r2.6850468
pkgrel=1
pkgdesc="An integrated terminal programming text-editor with many functionalities like a manpage reader, a documentation registering with direct accessing mechanism and many others settings and features"
arch=('x86_64')
url="https://github.com/mrcyberfighter/IT-Edit"
license=('GPL3')
provides=('it-edit')
depends=('vte290' 'gtksourceview3')
makedepends=('git')
source=("it-edit::git+${url}"
'0001-fix-make-install-failure-inside-fakeroot.patch')
sha256sums=('SKIP'
'SKIP')
pkgver() {
cd "${srcdir}/IT-Edit/it-edit-2.0/"
( set -o pipefail
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "2.0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
prepare() {
cd "${srcdir}/IT-Edit/"
patch -Np1 -i "${srcdir}/0001-fix-make-install-failure-inside-fakeroot.patch"
cd it-edit-2.0
chmod 755 configure
autoreconf -if
./configure --prefix=/usr
}
build() {
cd "${srcdir}/IT-Edit/it-edit-2.0/"
make
}
package() {
cd "${srcdir}/IT-Edit/it-edit-2.0/"
make install DESTDIR="${pkgdir}"
chmod 755 "${pkgdir}/usr/share/applications"
}
|