diff options
author | tdy | 2017-01-21 08:08:27 -0600 |
---|---|---|
committer | tdy | 2017-01-21 08:08:27 -0600 |
commit | bed55f43c62331d45ab65d23e29b84996c3a2bfa (patch) | |
tree | c579b270b774d7e8b9b1d18abe6bc7540a364f31 | |
parent | 1aace4bc4b08370379a023abeec0bc6ab2df93f1 (diff) | |
download | aur-bed55f43c62331d45ab65d23e29b84996c3a2bfa.tar.gz |
Add pkgver()
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 54 |
2 files changed, 35 insertions, 36 deletions
@@ -1,22 +1,21 @@ pkgbase = pcmanfm-git - pkgdesc = An extremely fast, lightweight, yet feature-rich file manager with tabbed browsing - pkgver = 0.0.0.0 + pkgdesc = A fast, lightweight, yet feature-rich file manager with tabbed browsing + pkgver = r1493.4555839 pkgrel = 1 - url = http://pcmanfm.sourceforge.net/ + url = http://pcmanfm.sourceforge.net arch = i686 arch = x86_64 license = GPL makedepends = git makedepends = intltool - makedepends = pkg-config depends = libfm-gtk2 - optdepends = gnome-menus: applications menu and "Open with" dialog - optdepends = gvfs: mounting of local and remote drives - optdepends = lxmenu-data: applications menu and "Open with" dialog + optdepends = gnome-menus: app menu and "Open with" dialog + optdepends = lxmenu-data: app menu and "Open with" dialog + optdepends = gvfs: mount local and remote drives provides = pcmanfm conflicts = pcmanfm - source = git://pcmanfm.git.sourceforge.net/gitroot/pcmanfm/pcmanfm - md5sums = SKIP + source = pcmanfm-git::git+git://pcmanfm.git.sourceforge.net/gitroot/pcmanfm/pcmanfm + sha256sums = SKIP pkgname = pcmanfm-git @@ -1,40 +1,40 @@ -# Maintainer: quomoow <quomoow@gmail.com> +# Maintainer: archlinux.info:tdy +# Contributor: quomoow <quomoow@gmail.com> + pkgname=pcmanfm-git -_pkgname=pcmanfm -pkgver=0.0.0.0 +pkgver=r1493.4555839 pkgrel=1 -pkgdesc="An extremely fast, lightweight, yet feature-rich file manager with -tabbed browsing" -arch=('i686' 'x86_64') -url="http://pcmanfm.sourceforge.net/" -license=('GPL') -depends=('libfm-gtk2') -makedepends=('git' 'intltool' 'pkg-config') -optdepends=('gnome-menus: applications menu and "Open with" dialog' - 'gvfs: mounting of local and remote drives' - 'lxmenu-data: applications menu and "Open with" dialog') -provides=('pcmanfm') -conflicts=('pcmanfm') -source=(git://pcmanfm.git.sourceforge.net/gitroot/pcmanfm/pcmanfm) -md5sums=('SKIP') +pkgdesc="A fast, lightweight, yet feature-rich file manager with tabbed browsing" +arch=(i686 x86_64) +url=http://pcmanfm.sourceforge.net +license=(GPL) +depends=(libfm-gtk2) +makedepends=(git intltool) +optdepends=('gnome-menus: app menu and "Open with" dialog' + 'lxmenu-data: app menu and "Open with" dialog' + 'gvfs: mount local and remote drives') +provides=(pcmanfm) +conflicts=(pcmanfm) +source=($pkgname::git+git://${pkgname/-/.}.sourceforge.net/gitroot/pcmanfm/pcmanfm) +sha256sums=(SKIP) + +pkgver() { + cd $pkgname + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} prepare() { - cd "${_pkgname}" - - ./autogen.sh + cd $pkgname + ./autogen.sh } build() { - cd "${_pkgname}" - + cd $pkgname ./configure --prefix=/usr --sysconfdir=/etc - make } package() { - cd "${_pkgname}" - - make DESTDIR="${pkgdir}/" install + cd $pkgname + make DESTDIR="$pkgdir" install } - |