Commit 43200639 authored by Seblu's avatar Seblu
Browse files

Use date string as default version in PKGBUILD

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

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

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

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