[deploy] Add the git aur submodule
This commit is contained in:
parent
55b9d57387
commit
be18f11a69
4 changed files with 62 additions and 0 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,3 +1,6 @@
|
||||||
[submodule "archpackage/archy-slstatus/archpackage/archy-slstatus/archy-slstatus"]
|
[submodule "archpackage/archy-slstatus/archpackage/archy-slstatus/archy-slstatus"]
|
||||||
path = archpackage/archy-slstatus/archpackage/archy-slstatus/archy-slstatus
|
path = archpackage/archy-slstatus/archpackage/archy-slstatus/archy-slstatus
|
||||||
url = ssh://aur@aur.archlinux.org/archy-slstatus.git
|
url = ssh://aur@aur.archlinux.org/archy-slstatus.git
|
||||||
|
[submodule "archpackage/archy-slstatus-git/archy-slstatus-git"]
|
||||||
|
path = archpackage/archy-slstatus-git/archy-slstatus-git
|
||||||
|
url = ssh://aur@aur.archlinux.org/archy-slstatus-git.git
|
||||||
|
|
17
archpackage/archy-slstatus-git/.SRCINFO
Normal file
17
archpackage/archy-slstatus-git/.SRCINFO
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
pkgbase = archy-slstatus-git
|
||||||
|
pkgdesc = A suckless status monitor for dwm
|
||||||
|
pkgver = 1.0.0.r1.g55b9d57
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://github.com/archy-linux/archy-slstatus
|
||||||
|
arch = i686
|
||||||
|
arch = x86_64
|
||||||
|
license = MIT
|
||||||
|
makedepends = git
|
||||||
|
makedepends = make
|
||||||
|
depends = libx11
|
||||||
|
provides = archy-slstatus
|
||||||
|
conflicts = archy-slstatus
|
||||||
|
source = archy-slstatus::git+https://github.com/archy-linux/archy-slstatus.git
|
||||||
|
sha256sums = SKIP
|
||||||
|
|
||||||
|
pkgname = archy-slstatus-git
|
41
archpackage/archy-slstatus-git/PKGBUILD
Normal file
41
archpackage/archy-slstatus-git/PKGBUILD
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
# Maintainer: Anas Elgarhy <anas.elgarhy.dev@gmail.com>
|
||||||
|
pkgname=archy-slstatus-git
|
||||||
|
_pkgname=archy-slstatus
|
||||||
|
pkgver=1.0.0.r1.g55b9d57
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="A suckless status monitor for dwm"
|
||||||
|
url="https://github.com/archy-linux/$_pkgname"
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
license=('MIT')
|
||||||
|
options=()
|
||||||
|
depends=('libx11')
|
||||||
|
makedepends=('git' 'make')
|
||||||
|
install=
|
||||||
|
provides=("$_pkgname")
|
||||||
|
conflicts=("$_pkgname")
|
||||||
|
source=("$_pkgname::git+$url.git")
|
||||||
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver(){
|
||||||
|
cd $_pkgname || exit 1
|
||||||
|
git describe --long --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
|
||||||
|
}
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd $_pkgname || exit 1
|
||||||
|
make archy-dwm.desktop
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $_pkgname || exit 1
|
||||||
|
make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $_pkgname || exit 1
|
||||||
|
# shellcheck disable=SC2154
|
||||||
|
make PREFIX=/usr DESTDIR="$pkgdir" install
|
||||||
|
install -m644 -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
|
install -m644 -D README.md "$pkgdir/usr/share/doc/$pkgname/README"
|
||||||
|
install -m644 -D build/archy-dwm.desktop "$pkgdir/usr/share/xsessions/archy-dwm.desktop"
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit aae222fe652292ba5d5158ba4349a603d77b0375
|
Loading…
Reference in a new issue