From 4a4db8cf6eaa16cbb21ba836a6e55ece87e1a896 Mon Sep 17 00:00:00 2001 From: Anas Elgarhy Date: Fri, 12 May 2023 01:36:27 +0300 Subject: [PATCH] [fix] Remove the prepare function --- archpackage/archy-slstatus-git/.SRCINFO | 2 +- archpackage/archy-slstatus-git/PKGBUILD | 8 +------- archpackage/archy-slstatus-git/archy-slstatus-git | 2 +- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/archpackage/archy-slstatus-git/.SRCINFO b/archpackage/archy-slstatus-git/.SRCINFO index c536e2c..12b4b11 100644 --- a/archpackage/archy-slstatus-git/.SRCINFO +++ b/archpackage/archy-slstatus-git/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = archy-slstatus-git pkgdesc = A suckless status monitor for dwm pkgver = 1.0.0.r1.g55b9d57 - pkgrel = 1 + pkgrel = 2 url = https://github.com/archy-linux/archy-slstatus arch = i686 arch = x86_64 diff --git a/archpackage/archy-slstatus-git/PKGBUILD b/archpackage/archy-slstatus-git/PKGBUILD index ff5e3ab..9ed9efe 100644 --- a/archpackage/archy-slstatus-git/PKGBUILD +++ b/archpackage/archy-slstatus-git/PKGBUILD @@ -2,7 +2,7 @@ pkgname=archy-slstatus-git _pkgname=archy-slstatus pkgver=1.0.0.r1.g55b9d57 -pkgrel=1 +pkgrel=3 pkgdesc="A suckless status monitor for dwm" url="https://github.com/archy-linux/$_pkgname" arch=('i686' 'x86_64') @@ -21,11 +21,6 @@ pkgver(){ 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 @@ -37,5 +32,4 @@ package() { 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" } diff --git a/archpackage/archy-slstatus-git/archy-slstatus-git b/archpackage/archy-slstatus-git/archy-slstatus-git index aae222f..f3de0ef 160000 --- a/archpackage/archy-slstatus-git/archy-slstatus-git +++ b/archpackage/archy-slstatus-git/archy-slstatus-git @@ -1 +1 @@ -Subproject commit aae222fe652292ba5d5158ba4349a603d77b0375 +Subproject commit f3de0ef251edfcce300b53c71b187b76b7e1358a