blob: e3f605649a9336c4700238217d06775c83d47bec (
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
48
49
|
# Maintainer: Carsten Haitzler <raster@rasterman.com>
_pkgname=evisum
pkgname=$_pkgname-git
pkgver=0.5.99.r1161.38ad17b
pkgrel=1
pkgdesc="PRocess monitor like top based on EFL - Development version"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://www.enlightenment.org/about-evisum"
license=('BSD')
depends=('efl')
makedepends=('git' 'meson' 'ninja' 'pkgconf' 'gcc' 'binutils' 'fakeroot')
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
options=('debug')
source=("git+https://git.enlightenment.org/enlightenment/$_pkgname.git")
sha256sums=('SKIP')
pkgver() {
cd $_pkgname
local v_ver=$(grep version meson.build | head -1 | sed s/version//g | tr ":'," " " | awk '{print $1}')
printf "$v_ver.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
build() {
cd $_pkgname
export CFLAGS="$CFLAGS -fvisibility=hidden"
rm -rf build
meson --prefix=/usr \
. build
ninja -C build
}
package() {
cd $_pkgname
DESTDIR="$pkgdir" ninja -C build install
# install text files
install -Dm644 -t "$pkgdir/usr/share/doc/$_pkgname/" README
# install license files
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" AUTHORS COPYING
}
|