diff options
author | chchch | 2017-08-26 13:08:56 -0400 |
---|---|---|
committer | chchch | 2017-08-26 13:08:56 -0400 |
commit | c5c92d7504e6c080e397f647666e125dc6caf441 (patch) | |
tree | aa71b5d53f99d9c1683a12a14f971a556072a53d | |
parent | 031ca643d1b47671190ef0a16672d50ec69334e3 (diff) | |
download | aur-c5c92d7504e6c080e397f647666e125dc6caf441.tar.gz |
used git repository instead of stable release
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 15 insertions, 12 deletions
@@ -1,6 +1,6 @@ pkgbase = ephoto-git pkgdesc = A light image viewer based on EFL - pkgver = 1.5 + pkgver = 1.5.888 pkgrel = 1 url = http://www.smhouston.us/ephoto arch = i686 @@ -10,7 +10,7 @@ pkgbase = ephoto-git depends = efl provides = ephoto=1.5 conflicts = ephoto - source = http://www.smhouston.us/stuff/ephoto-1.5.tar.gz + source = https://git.enlightenment.org/apps/ephoto.git sha256sums = SKIP pkgname = ephoto-git @@ -4,7 +4,7 @@ _pkgname=ephoto pkgname=$_pkgname-git -pkgver=1.5 +pkgver=1.5.888.ccf4979 pkgrel=1 pkgdesc="A light image viewer based on EFL" arch=('i686' 'x86_64') @@ -14,23 +14,25 @@ depends=('efl') makedepends=('git') provides=("$_pkgname=$pkgver") conflicts=("$_pkgname") -#source=("git://git.enlightenment.org/apps/$_pkgname.git") -source=("http://www.smhouston.us/stuff/ephoto-1.5.tar.gz") +source=("git://git.enlightenment.org/apps/$_pkgname.git") +#source=("http://www.smhouston.us/stuff/ephoto-1.5.tar.gz") sha256sums=('SKIP') -#pkgver() { +pkgver() { # cd $_pkgname-$pkgver #cd ephoto-1.5 +cd $_pkgname -# local efl_version=$(grep -m1 EFL_VERSION configure.ac | awk -F [][] '{print $2 "." $4 "." $6}') -# efl_version=$(awk -F , -v efl_version=${efl_version%.} '/^AC_INIT/ {gsub(/efl_version/, efl_version); gsub(/[\[\] -]/, ""); print $2}' configure.ac) + local efl_version=$(grep -m1 EFL_VERSION configure.ac | awk -F [][] '{print $2 "." $4 "." $6}') + efl_version=$(awk -F , -v efl_version=${efl_version%.} '/^AC_INIT/ {gsub(/efl_version/, efl_version); gsub(/[\[\] -]/, ""); print $2}' configure.ac) -# printf "$efl_version.$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" -#} + printf "$efl_version.$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" +} build() { # cd $_pkgname-$pkgver -cd ephoto-1.5 + cd $_pkgname +#cd ephoto-1.5 ./autogen.sh \ --prefix=/usr \ @@ -41,7 +43,8 @@ cd ephoto-1.5 package() { # cd $_pkgname-$pkgver -cd ephoto-1.5 + cd $_pkgname +#cd ephoto-1.5 make DESTDIR="$pkgdir" install |