diff options
author | Frederic Bezies | 2017-10-02 08:04:51 +0200 |
---|---|---|
committer | Frederic Bezies | 2017-10-02 08:04:51 +0200 |
commit | 7b8a3128fcd19828eb5922bcd457b992d54024dc (patch) | |
tree | d9199d594b25db1ce2274591e3b0b30a87c6bea7 /PKGBUILD | |
parent | 769c5050f0d49a3d7eb41f6bb5ccc482839abc88 (diff) | |
download | aur-7b8a3128fcd19828eb5922bcd457b992d54024dc.tar.gz |
PKGBUILD cleanup and adding back help files
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 5 insertions, 20 deletions
@@ -1,25 +1,18 @@ # Maintainer: Frederic Bezies <fredbezies at gmail dot com> # Contributor rtfreedman (rob<d0t>til<d0t>freedman<aT>gmail<d0t>com # -## enable/disable gnome help files; adds makedepends+='yelp-tools' and depends+='yelp' -_build_gnome_help="no" # yes|no pkgname=easytag-git _gitname=easytag -pkgver=2.4.3.r51.gd0c0513 +pkgver=2.4.3.r55.g6e3a7e9 pkgrel=1 pkgdesc="Utility for viewing and editing tags for most audio formats - git version" arch=('i686' 'x86_64') license=('GPL') url='http://projects.gnome.org/easytag/' -depends=('id3lib' 'taglib' 'libid3tag' 'gtk3' 'libvorbis' 'flac' 'speex' 'opusfile' 'wavpack' 'desktop-file-utils') -makedepends=('git' 'intltool' 'appdata-tools' 'autoconf-archive') +depends=('id3lib' 'taglib' 'libid3tag' 'gtk3' 'libvorbis' 'flac' 'speex' 'opusfile' 'wavpack' 'desktop-file-utils' 'yelp') +makedepends=('git' 'intltool' 'appdata-tools' 'autoconf-archive' 'yelp-tools') ## depends on building gnome help files -if [ "$_build_gnome_help" = 'yes' ]; then - echo -e "\n>>>\n>>> Build with GNOME help files\n>>>\n" - depends+=('yelp') - makedepends+=('yelp-tools') -fi provides=('easytag') conflicts=('easytag') @@ -28,19 +21,11 @@ sha1sums=('SKIP') pkgver() { cd "$_gitname" - git describe --long --tags | sed 's/^easytag-//;s/\([^-]*-g\)/r\1/;s/-/./g' + git describe --tags | sed 's/^easytag-//;s/\([^-]*-g\)/r\1/;s/-/./g' } prepare() { cd "$_gitname" - ## disable-gnome-help-files - if [ "$_build_gnome_help" != 'yes' ]; then - echo -e "\n>>>\n>>> Build without GNOME help files\n>>>\n" - sed -i 's@= help po@= po@' Makefile.am - sed -e'/help\/Makefile/d' -e 's/AC_MSG_ERROR(\[yelp-tools/AC_MSG_WARN([yelp-tools/' -i configure.ac - rm -fr help/ - fi - ## add git rev to version sed "s/(\[EasyTAG\], \[\([0-9]\).\([0-9]\).\([0-9]\)\],/(\[EasyTAG\], [\1.\2.\3-$(git rev-list --count master).$(git rev-parse --short master)], /" -i configure.ac ./autogen.sh } @@ -50,7 +35,7 @@ build() { CXXFLAGS="$CXXFLAGS -Wno-error=deprecated-declarations -Wno-error" # Workaround for gcc 7 CFLAGS="$CFLAGS -Wno-error" - ./configure --prefix=/usr + ./configure --prefix=/usr make } |