mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-12 11:18:30 +00:00
fix arch release -git
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
# Maintainer: deadc0de6 <info@deadc0de.ch>
|
# Maintainer: deadc0de6 <info@deadc0de.ch>
|
||||||
|
|
||||||
pkgname=dotdrop-git
|
_pkgname=dotdrop
|
||||||
|
pkgname="${_pkgname}-git"
|
||||||
pkgver=
|
pkgver=
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Save your dotfiles once, deploy them everywhere "
|
pkgdesc="Save your dotfiles once, deploy them everywhere "
|
||||||
@@ -16,12 +17,12 @@ source=("git+https://github.com/deadc0de6/dotdrop.git")
|
|||||||
md5sums=('SKIP')
|
md5sums=('SKIP')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd "$pkgname"
|
cd "${_pkgname}"
|
||||||
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//g'
|
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//g'
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${pkgname}"
|
cd "${_pkgname}"
|
||||||
python setup.py install --root="${pkgdir}/" --optimize=1
|
python setup.py install --root="${pkgdir}/" --optimize=1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user