blob: 5d5a6f85e998eac5b66f53d0fba364aefe627284 (
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
45
46
47
|
# Maintainer: Nate Simon <njsimon10@gmail.com>
pkgname=xed-git
_pkgbasename=xed
pkgver=3.6.2.r1.gcc82519
pkgrel=1
pkgdesc="A small and lightweight text editor. X-Apps Project (git version)."
arch=('i686' 'x86_64' 'armv7h')
license=('GPL')
depends=('gtksourceview4' 'enchant' 'desktop-file-utils' 'libsm'
'libpeas' 'xapps' 'gspell')
makedepends=(
'git' 'gobject-introspection' 'meson' 'intltool' 'itstool'
'glib2-devel'
)
optdepends=(
'yelp: View help and documentation from the app'
)
provides=($pkgname $_pkgbasename)
conflicts=(${_pkgbasename})
url="https://github.com/linuxmint/${_pkgbasename}"
source=("${pkgname}::git+${url}.git")
md5sums=('SKIP')
pkgver() {
cd ${srcdir}/${pkgname}
git describe --long --tags --exclude 'master*' | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
mkdir -p "${srcdir}"/${pkgname}/build
cd "${srcdir}"/${pkgname}/build
meson --prefix=/usr \
--libexecdir=lib/${pkgname} \
--buildtype=plain \
..
ninja
}
package(){
cd "${srcdir}"/${pkgname}/build
DESTDIR="$pkgdir/" ninja install
}
|