-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2351a49
commit 01b3faf
Showing
3 changed files
with
24 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
# Maintainer: Ulises Jeremias Cornejo Fandos <[email protected]> | ||
# Maintainer: Federico Ramon Gasquez <[email protected]> | ||
# Maintainer: Maria Macarena Lindo Poisson <[email protected]> | ||
|
||
pkgname=dots-stable | ||
pkgver=1.0.0 | ||
pkgver=1.2.2 | ||
pkgrel=1 | ||
pkgdesc="Dotfiles generator that allows quick configuration and managing of different tools and window managers in multiple OSs" | ||
arch=(any) | ||
|
@@ -17,18 +15,17 @@ source=("git+$url.git") | |
md5sums=('SKIP') | ||
|
||
pkgver() { | ||
cd dotfiles || exit 1 | ||
git fetch --tags | ||
cd dotfiles | ||
git describe --tags "$(git rev-list --tags --max-count=1)" | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' | ||
} | ||
|
||
package() { | ||
cd dotfiles || exit 1 | ||
cd dotfiles | ||
git fetch --tags | ||
latest_release=$(git describe --tags "$(git rev-list --tags --max-count=1)") | ||
git checkout "${latest_release}" | ||
PKGNAME=dots | ||
DESTDIR="${pkgdir}" | ||
export DESTDIR PKGNAME | ||
PKGDIR="${pkgdir}" | ||
export PKGDIR PKGNAME | ||
./install | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
# Maintainer: Ulises Jeremias Cornejo Fandos <[email protected]> | ||
# Maintainer: Federico Ramon Gasquez <[email protected]> | ||
# Maintainer: Maria Macarena Lindo Poisson <[email protected]> | ||
|
||
pkgname=dots-git | ||
pkgver=1.0.0.r11.ge8b9cfc | ||
pkgver=1.2.2 | ||
pkgrel=1 | ||
pkgdesc="Dotfiles generator that allows quick configuration and managing of different tools and window managers in multiple OSs" | ||
arch=(any) | ||
|
@@ -17,15 +15,14 @@ source=("git+$url.git") | |
md5sums=('SKIP') | ||
|
||
pkgver() { | ||
cd dotfiles || exit 1 | ||
git fetch --tags | ||
cd dotfiles | ||
git describe --tags "$(git rev-list --tags --max-count=1)" | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' | ||
} | ||
|
||
package() { | ||
cd dotfiles || exit 1 | ||
cd dotfiles | ||
PKGNAME=dots | ||
DESTDIR="${pkgdir}" | ||
export DESTDIR PKGNAME | ||
PKGDIR="${pkgdir}" | ||
export PKGDIR PKGNAME | ||
./install | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters