2014-02-12 12:56:20 -08:00
|
|
|
# Maintainer: Enlightenment Developers <enlightenment-devel@enlightenment.org>
|
2017-11-24 05:09:42 -08:00
|
|
|
pkgname='edi-git'
|
2018-09-13 14:17:02 -07:00
|
|
|
pkgver=0.7.0.0001
|
2014-02-12 12:56:20 -08:00
|
|
|
pkgrel=1
|
2017-11-24 05:09:42 -08:00
|
|
|
pkgdesc="Efl based IDE - GIT development snapshot"
|
2014-02-12 12:56:20 -08:00
|
|
|
arch=('i686' 'x86_64' 'arm')
|
2017-11-24 05:09:42 -08:00
|
|
|
url="https://www.enlightenment.org/about-edi"
|
2016-09-09 01:08:31 -07:00
|
|
|
license=('GPLv2')
|
2017-11-24 05:09:42 -08:00
|
|
|
makedepends=('git' 'meson')
|
2018-09-13 14:17:02 -07:00
|
|
|
depends=('efl' 'clang' 'check')
|
2017-11-24 05:09:42 -08:00
|
|
|
options=('!libtool' 'debug' '!strip')
|
2014-02-12 12:56:20 -08:00
|
|
|
provides=('edi')
|
2017-11-24 05:09:42 -08:00
|
|
|
source=("edi-git::git+https://github.com/Enlightenment/edi.git#branch=develop")
|
|
|
|
sha256sums=('SKIP')
|
2014-02-12 12:56:20 -08:00
|
|
|
|
|
|
|
pkgver() {
|
2017-11-24 05:09:42 -08:00
|
|
|
cd "$pkgname"
|
|
|
|
(set -o pipefail
|
|
|
|
git describe --tags 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' ||
|
|
|
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
|
|
)
|
2014-02-12 12:56:20 -08:00
|
|
|
}
|
|
|
|
build() {
|
2017-11-24 05:09:42 -08:00
|
|
|
cd "$pkgname"
|
|
|
|
meson --buildtype=release --prefix=/usr build/
|
|
|
|
ninja -C build/
|
2014-02-12 12:56:20 -08:00
|
|
|
}
|
|
|
|
|
2017-11-24 05:09:42 -08:00
|
|
|
check() {
|
|
|
|
cd "$pkgname"
|
|
|
|
ninja -C build/ test
|
2014-02-12 12:56:20 -08:00
|
|
|
}
|
|
|
|
|
2017-11-24 05:09:42 -08:00
|
|
|
package() {
|
|
|
|
cd "$pkgname"
|
|
|
|
DESTDIR="$pkgdir/" ninja -C build/ install
|
2014-02-12 12:56:20 -08:00
|
|
|
}
|
2017-11-24 05:09:42 -08:00
|
|
|
|