blob: 679cf94688e085dc6395fca01cc2d85893aa51cd (
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
|
# Maintainer: twa022 <twa022 at gmail dot com>
# Contributor: Frederic Bezies <fredbezies at gmail dot com>
# Contributor: swanson <webaake gmail com>
_pkgname=mousepad
pkgname=${_pkgname}-git
pkgver=0.6.5+113+g3e854550
pkgrel=1
pkgdesc="Simple text editor for Xfce (git checkout)"
arch=('x86_64' 'i686' 'armv7h' 'aarch64')
url="http://www.xfce.org/"
license=('GPL-2.0-or-later')
depends=('gtksourceview4' 'desktop-file-utils' 'hicolor-icon-theme' 'gspell' 'polkit')
makedepends=('xfce4-dev-tools' 'git' 'meson')
provides=("${_pkgname}=${pkgver%.r*}")
conflicts=("${_pkgname}")
source=("${_pkgname}::git+https://gitlab.xfce.org/apps/${_pkgname}")
sha256sums=('SKIP')
pkgver() {
cd "${_pkgname}"
git describe --long --tags | sed -r "s:^${_pkgname}.::;s/^v//;s/^xfce-//;s/-/+/g"
}
build() {
local meson_options=(
-D gtksourceview4=enabled
-D polkit=enabled
-D gspell-plugin=enabled
)
arch-meson "${_pkgname}" build "${meson_options[@]}"
meson compile -C build
}
package() {
meson install -C build --destdir "$pkgdir"
}
|