summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 67d660b38a50..7951bd22cb6b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,13 +6,12 @@ pkgbase = customfetch-bin
arch = x86_64
arch = aarch64
license = BSD-3-Clause
+ depends = customfetch-common
optdepends = wayland: Library for getting the Wayland compositor faster
optdepends = dconf: Alternative to the slow gsettings command
optdepends = libxfce4util: Query XFCE4 version faster
- conflicts = customfetch-gui-git
- conflicts = customfetch-gui
conflicts = customfetch-git
- conflicts = customfetch-gui-bin
+ conflicts = customfetch
source = https://github.com/Toni500github/customfetch/releases/download/v1.0.0/customfetch-v1.0.0.tar.gz
sha256sums = 78810b20c622660de637b019f4b297d2c6370b0d5aa466dd3024216419a405af
diff --git a/PKGBUILD b/PKGBUILD
index 53be494726b1..0672b7f48228 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,17 +7,17 @@ pkgdesc="Highly customizable and fast system information fetch program (Binary f
arch=('x86_64' 'aarch64')
url="https://github.com/Toni500github/customfetch"
license=('BSD-3-Clause')
-#depends=() # some of them are in the "base" meta-package anyway so basically no extra depends
+depends=('customfetch-common') # some of them are in the "base" meta-package anyway so basically no extra depends
optdepends=(
'wayland: Library for getting the Wayland compositor faster'
'dconf: Alternative to the slow gsettings command'
'libxfce4util: Query XFCE4 version faster'
)
-conflicts=('customfetch-gui-git' 'customfetch-gui' 'customfetch-git' 'customfetch-gui-bin')
+conflicts=('customfetch-git' 'customfetch')
source=("${url}/releases/download/v${pkgver}/${_pkgname}-v${pkgver}.tar.gz")
sha256sums=("78810b20c622660de637b019f4b297d2c6370b0d5aa466dd3024216419a405af")
package() {
- cd "${srcdir}/"
- mv "usr/" "${pkgdir}"
+ rm -rf "${srcdir}/usr/share"
+ mv "${srcdir}/usr/" "${pkgdir}"
}