blob: b4ebc74f3c4a5bf3b6464a31464ee4ce5d292a58 (
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
|
# Maintainer: Craig Barnes <craigbarnes@protonmail.com>
pkgname=dte-git
pkgver=1.11.1+714+g5a7945a8
pkgrel=1
pkgdesc='A small, configurable console text editor'
url='https://craigbarnes.gitlab.io/dte/'
arch=(x86_64 i686 armv7h aarch64)
license=(GPL2)
depends=(glibc)
optdepends=(
'ctags: for generating "tags" files for the tag command'
'git: for the builtin git-grep and git-open aliases'
'fzf: for the builtin git-open alias'
)
makedepends=(git)
conflicts=(dte)
provides=(dte)
source=("git+https://gitlab.com/craigbarnes/dte.git")
sha256sums=(SKIP)
pkgver() {
cd "$srcdir/dte"
git describe --match='v[1-9]*' | sed 's/^v//; s/-/+/g'
}
build() {
cd "$srcdir/dte"
make V=1
}
check() {
cd "$srcdir/dte"
make check V=1
}
package() {
cd "$srcdir/dte"
make install V=1 prefix=/usr DESTDIR="$pkgdir"
}
|