Compare commits
2 commits
ff3350de5d
...
be18f11a69
Author | SHA1 | Date | |
---|---|---|---|
be18f11a69 | |||
55b9d57387 |
7 changed files with 103 additions and 0 deletions
6
.gitmodules
vendored
Normal file
6
.gitmodules
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
[submodule "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
|
||||
[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
|
14
archpackage/archy-slstatus/.SRCINFO
Normal file
14
archpackage/archy-slstatus/.SRCINFO
Normal file
|
@ -0,0 +1,14 @@
|
|||
pkgbase = archy-slstatus
|
||||
pkgdesc = A suckless status monitor for archy linux
|
||||
pkgver = 1.0.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/archy-linux/archy-slstatus
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
provides = archy-slstatus
|
||||
conflicts = archy-slstatus
|
||||
source = https://github.com/archy-linux/archy-slstatus/archive/refs/tags/1.0.0.tar.gz
|
||||
sha256sums = d7414e26f06ee565337791d75a502760a00ebff46319be636c150a3c3d78275d
|
||||
|
||||
pkgname = archy-slstatus
|
23
archpackage/archy-slstatus/PKGBUILD
Normal file
23
archpackage/archy-slstatus/PKGBUILD
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Maintainer: Anas Elgarhy <anas.elgarhy.dev@gmail.com>
|
||||
pkgname=archy-slstatus
|
||||
pkgver=1.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="A suckless status monitor for archy linux"
|
||||
url="https://github.com/archy-linux/$pkgname"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('MIT')
|
||||
options=()
|
||||
depends=()
|
||||
install=
|
||||
provides=("$pkgname")
|
||||
conflicts=("$pkgname")
|
||||
source=("https://github.com/archy-linux/$pkgname/archive/refs/tags/$pkgname_$pkgver.tar.gz")
|
||||
sha256sums=('d7414e26f06ee565337791d75a502760a00ebff46319be636c150a3c3d78275d')
|
||||
|
||||
package() {
|
||||
cd "$pkgname_$pkgver" || exit 1
|
||||
# shellcheck disable=SC2154
|
||||
install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
|
||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 2cfbf276e1f9f5c8d431211952aac2fb0d1f0bc5
|
Loading…
Reference in a new issue