summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 146fb3ad72f3c55390678caebc596e0fdc3ab6f2 (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
# Maintainer: PhotonX <photon89 [at] gmail.com>.

pkgname=ezame-git
_realname=ezame
pkgver=0.6
pkgrel=4
pkgdesc="A Desktop file Editor - that eventually will be able to edit menu structures for interfaces that still use them"
arch=('i686' 'x86_64')
url="https://github.com/linux-man/ezame"
license=('GPL3')
depends=('python' 'python-gobject' 'desktop-file-utils')
makedepends=('git')
source=()
md5sums=()

_giturl=https://github.com/linux-man/ezame.git

build() {
	cd ${srcdir}
	msg "Connecting to the server...."
	if [ -d ${srcdir}/$_realname ]; then
		cd ${srcdir}/$_realname
		git pull
	else
		git clone $_giturl
	fi
}

package() {
	cd ${srcdir}/$_realname
	python setup.py install --root ${pkgdir}
}