summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2e58e05303de17f9eb26b8e2cdcfa37a5d917d4e (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
# Maintainer: LightDot <lightdot -a-t- g m a i l>

_pkgname=eflete
pkgname=$_pkgname-git
pkgver=1.19.1.r15.g9779b5a17
pkgrel=1
pkgdesc="EFL Edje graphical UI and theme editor - development version"
arch=('x86_64')
url="https://www.enlightenment.org/about-eflete"
license=('GPL2')
makedepends=('efl' 'git')
depends=('efl')
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
source=("git+https://git.enlightenment.org/tools/$_pkgname.git")
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$_pkgname"
  git describe --tags --long | sed 's/^v//;s/-/.r/;s/-/./g'
}

build() {
  cd "${srcdir}/${_pkgname}"
  sed -i "s|1.20.9999|1.21.9999|g" "./configure.ac"
  ./autogen.sh
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${_pkgname}"
  make DESTDIR="${pkgdir}" install
}