summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Poldrack2021-06-05 20:36:03 +0200
committerMoritz Poldrack2021-06-05 20:36:19 +0200
commit21e70dbdc9688a0974e40431e759d649f613958d (patch)
treed724b4e8e7f4735922eb70d6b59883460f9536ee
parent19a132351299b3cf03bf7e62e958b25002d6802d (diff)
downloadaur-21e70dbdc9688a0974e40431e759d649f613958d.tar.gz
fixed issues in PKGBUILD and minimized deps
-rw-r--r--PKGBUILD57
1 files changed, 25 insertions, 32 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5aa33c08deb..562149fa7d1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,52 +7,45 @@ arch=('x86_64')
url='https://codeberg.org/dnkl/yambar'
license=('MIT')
depends=(
- 'xcb-util-cursor'
- 'pixman'
- 'xcb-util-wm'
- 'xorgproto'
- 'wayland'{,-protocols}
- 'fontconfig'
- 'alsa-lib'
-)
+ 'alsa-lib'
+ 'libmpdclient'
+ 'libxcb'
+ 'xorgproto'
+ 'libyaml'
+ 'systemd'
+ 'fontconfig'
+ wayland{,-protocols}
+ xcb-util{,-cursor,-errors,-wm}
+ 'pixman'
+ )
makedepends=(
- 'git'
- 'cmake'
- 'libmpdclient'
- 'libyaml'
- 'meson'
- 'ninja'
- 'scdoc'
-)
+ 'git'
+ 'meson'
+ 'scdoc'
+ )
provides=('yambar')
source=("${pkgname}-${pkgver}.tar.gz::https://codeberg.org/dnkl/${pkgname}/archive/${pkgver}.tar.gz")
sha256sums=('9ddf0bd7a708445697b4bf2f1d6d0fe5c29c5c7cd6df6058a739fe89413bd2c7')
prepare() {
- rm -rf "${srcdir}"
- mkdir -p "${srcdir}"
- bsdtar -xf "../${pkgname}-${pkgver}.tar.gz" -C "${srcdir}"
+ cd yambar
- cd yambar
+ mkdir subprojects
+ pushd subprojects
+ git clone https://codeberg.org/dnkl/tllist.git
+ git clone https://codeberg.org/dnkl/fcft.git
+ popd
- mkdir subprojects
- pushd subprojects
- git clone https://codeberg.org/dnkl/tllist.git
- git clone https://codeberg.org/dnkl/fcft.git
- popd
-
-# sed -ie 's/false/true/' meson_options.txt
-
- mkdir -p bld/release && cd bld/release
- meson --buildtype=release --prefix=${pkgdir}/usr/ ../..
+ mkdir -p bld/release && cd bld/release
+ meson --buildtype=release --prefix=${pkgdir}/usr/ ../..
}
build() {
- cd "${srcdir}/yambar/bld/release"
+ cd "${srcdir}/yambar/bld/release";
ninja
}
package() {
- cd "${srcdir}/yambar/bld/release"
+ cd "${srcdir}/yambar/bld/release";
ninja install
}