Commit 748d36cd authored by Seblu's avatar Seblu
Browse files

Use date string as default version in PKGBUILD

parent 282290b9
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
# Maintainer: Sébastien Luttringer

pkgname=archutils-git
pkgver=1
pkgver=$(date +%Y.%m.%d)
pkgrel=1
pkgdesc='Seblu Archlinux Utils'
arch=('any')
@@ -9,10 +9,6 @@ url='https://github.com/seblu/archutils'
license=('GPL2')
depends=('python' 'bash')

#pkgver() {
#  git log -1 --pretty=format:%h
#}

package() {
  cd "$startdir"
  install -dm755 "$pkgdir"/usr/{share/licenses/$pkgname,bin}