Skip to content

Commit

Permalink
fix: lidm package (tag tarball now) & config permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
javalsai committed Aug 29, 2024
1 parent 154308d commit 0ec08db
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 13 deletions.
2 changes: 1 addition & 1 deletion assets/pkg/aur/lidm-bin/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pkgbase = lidm-bin
pkgdesc = A fully colorful cutomizable TUI display manager made in C. (release binary)
pkgver = 0.0.1
pkgrel = 4
pkgrel = 5
url = https://github.com/javalsai/lidm
arch = x86_64
license = GPL
Expand Down
4 changes: 2 additions & 2 deletions assets/pkg/aur/lidm-bin/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maintainer: javalsai <javalsai@proton.me>
pkgname=lidm-bin
pkgver=0.0.1
pkgrel=4
pkgrel=5
depends=('pam')
pkgdesc="A fully colorful cutomizable TUI display manager made in C. (release binary)"
arch=('x86_64')
Expand All @@ -20,5 +20,5 @@ sha256sums=(

package() {
install -Dm755 lidm "${pkgdir}/usr/bin/lidm"
install -Dm755 default-theme.ini "${pkgdir}/etc/lidm.ini"
install -Dm644 default-theme.ini "${pkgdir}/etc/lidm.ini"
}
2 changes: 1 addition & 1 deletion assets/pkg/aur/lidm-git/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pkgbase = lidm-git
pkgdesc = A fully colorful cutomizable TUI display manager made in C. (last git commit)
pkgver = 0.0.1.r0.gd6b165b
pkgrel = 6
pkgrel = 7
url = https://github.com/javalsai/lidm
arch = any
license = GPL
Expand Down
4 changes: 2 additions & 2 deletions assets/pkg/aur/lidm-git/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maintainer: javalsai <javalsai@proton.me>
pkgname=lidm-git
pkgver=0.0.1.r0.gd6b165b
pkgrel=6
pkgrel=7
depends=('pam')
makedepends=('git' 'make' 'gcc')
pkgdesc="A fully colorful cutomizable TUI display manager made in C. (last git commit)"
Expand All @@ -27,5 +27,5 @@ build() {
package() {
cd "lidm"
install -Dm755 lidm "${pkgdir}/usr/bin/lidm"
install -Dm755 themes/default.ini "${pkgdir}/etc/lidm.ini"
install -Dm644 themes/default.ini "${pkgdir}/etc/lidm.ini"
}
4 changes: 2 additions & 2 deletions assets/pkg/aur/lidm/.SRCINFO
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pkgbase = lidm
makedepends = make
makedepends = gcc
depends = pam
source = lidm::git+https://github.com/javalsai/lidm
sha256sums = SKIP
source = https://github.com/javalsai/lidm/archive/refs/tags/0.0.1.tar.gz
sha256sums = eb67cbb9313734c547042799a2fcb3ed6edcfd67ebcd03c1fc78050d00e60d2c

pkgname = lidm
13 changes: 8 additions & 5 deletions assets/pkg/aur/lidm/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,19 @@ pkgdesc="A fully colorful cutomizable TUI display manager made in C. (build late
arch=('any')
url="https://github.com/javalsai/lidm"
license=('GPL')
source=("lidm::git+https://github.com/javalsai/lidm")
sha256sums=('SKIP')
source=("tarball.tar.gz::https://github.com/javalsai/lidm/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('eb67cbb9313734c547042799a2fcb3ed6edcfd67ebcd03c1fc78050d00e60d2c')

build() {
cd "$pkgname"
tar -xzf "tarball.tar.gz"
cd "lidm-$pkgver"

make CFLAGS="-O3"
}

package() {
cd "$pkgname"
cd "lidm-$pkgver"

install -Dm755 lidm "${pkgdir}/usr/bin/lidm"
install -Dm755 themes/default.ini "${pkgdir}/etc/lidm.ini"
install -Dm644 themes/default.ini "${pkgdir}/etc/lidm.ini"
}

0 comments on commit 0ec08db

Please sign in to comment.