Package Details: berry-git git+e5bcb3-1

Git Clone URL: (read-only, click to copy)
Package Base: berry
Description: A healthy, bite-sized window manager written over the XLib Library
Upstream URL:
Licenses: MIT
Submitter: FlashDaggerX
Maintainer: jlervin
Last Packager: jlervin
Votes: 4
Popularity: 0.000000
First Submitted: 2018-08-24 23:12 (UTC)
Last Updated: 2022-10-24 06:31 (UTC)

Pinned Comments

FlashDaggerX commented on 2018-08-24 23:22 (UTC)

FYI: This isn't my OC. Credits go to JLErvin for this wonderful little Window Manager.

Latest Comments

1 2 Next › Last »

xiota commented on 2023-06-21 05:20 (UTC) (edited on 2023-06-21 05:24 (UTC) by xiota)

This package has several issues that need to be corrected:

  • pkgbase ≠ pkgname. This blocks use of pkgbase berry from being used for a normal berry package. Solution: Convert this into a normal package. Create the -git package with the proper pkgbase/pkgname.

  • -git packages should have a pkgver function that uses git tag and commit info to build the version string, like 0.1.12.r2.gc665902-1.

  • Missing git in madedepends, required to build in clean chroot.
  • Missing provides/conflicts. So -git package can work as drop-in replacement for non-git package.
  • Unusual build/package organization.
  • Missing LICENSE file.

The following PKGBUILD will resolve the above issues for this package. It can be converted into a -git package by appending -git to pkgname. Test built in clean chroot, but I don't know how to use this program, so didn't do any further testing.

pkgdesc="A healthy, bite-sized window manager written over the XLib Library"



if [ x"$pkgname" == x"$_pkgname" ] ; then
  # normal package

  # git package




  pkgver() {
    cd "$srcdir/$_pkgsrc"
    git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'

build() {
  cd "$srcdir/$_pkgsrc"

  # These variables are used in the Makefile to create the file directories.

  # Set the variables and install the files.  
  ./configure --prefix=/usr

  # Compile the window manager

package() {
  cd "$srcdir/$_pkgsrc"

  make DESTDIR="$pkgdir" install

  # Install the examples (sample configuration files)
  install -vDm0644 -t "$pkgdir/etc/xdg/berry" \

  # Install LICENSE
  install -vDm0644 "LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname"

  # Install berry.desktop
  install -vDm0644 "$srcdir/berry.desktop" -t "$pkgdir/usr/share/applications"

Vedun commented on 2022-03-16 12:15 (UTC) (edited on 2022-03-16 12:20 (UTC) by Vedun)

Please fix PKGBUILD. Must be :

source=( "git+" berry.desktop )

earlybird commented on 2022-01-29 09:40 (UTC)

can you add the man part of the build?

man berryc

is not working now

rachejazz commented on 2021-03-11 19:26 (UTC) (edited on 2021-03-11 19:26 (UTC) by rachejazz)

berry-git-git+3dc0a02-1 has the following error:

error: failed to commit transaction (conflicting files)
berry-git: /usr/local/share/man exists in filesystem (owned by filesystem)
Errors occurred, no packages were upgraded.

Wasn't this fixed at an earlier version?

focusaurus commented on 2020-08-30 13:15 (UTC)

Version berry-git+3872a74-1 fails to install for me with this error:

install: target '/home/plyons/.cache/yay/berry/pkg/berry-git/usr/share/applications/' is not a directory: No such file or directory ==> ERROR: A failure occurred in package(). Aborting... error making: berry (berry-git)

Here's a public gist that seems to fix it

apropos commented on 2020-04-20 03:35 (UTC) (edited on 2020-04-20 04:17 (UTC) by apropos)

FlashDaggerX, berry doesn't register in my display manager upon installation.

It looks like the line that installs the berry.desktop file got thrown out in the Updated to caf4f33 change a few months ago.

Man pages also seem to be broken, but I'm not sure what PKGBUILD change caused that.

Thanks for maintaining.

lottobingo commented on 2020-02-20 17:58 (UTC)

FlashDaggerX, thank you! It’s working now.

FlashDaggerX commented on 2020-02-20 15:29 (UTC) (edited on 2020-02-20 15:29 (UTC) by FlashDaggerX)

lottobingo, the issue should be fixed now.

My PKGBUILD was attempting to create another manpage directory, that's why the installation failed.

lottobingo commented on 2020-02-20 14:23 (UTC)

Installation fails with the following error message:

error: failed to commit transaction (conflicting files)
berry-git: /usr/local/share/man exists in filesystem (owned by filesystem)
Errors occurred, no packages were upgraded.

FlashDaggerX commented on 2019-10-05 01:29 (UTC)

crian, the issue should be fixed now.