Package Details: dam-river-git r50.be43694-1

Git Clone URL: https://aur.archlinux.org/dam-river-git.git (read-only, click to copy)
Package Base: dam-river-git
Description: Itsy-bitsy dwm-esque bar for river
Upstream URL: https://codeberg.org/sewn/dam
Keywords: river statusbar
Licenses: MIT
Conflicts: dam
Provides: dam
Submitter: izzqz
Maintainer: izzqz
Last Packager: izzqz
Votes: 1
Popularity: 0.001574
First Submitted: 2024-12-05 10:32 (UTC)
Last Updated: 2024-12-29 13:57 (UTC)

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

ammyvl1 commented on 2025-10-20 23:51 (UTC)

It didn't build out of the box for me. Adding tllist to the make dependencies, then modifying source, sha1sums, and prepare as follows fixed it for me.

source=("$pkgname::git+https://codeberg.org/sewn/dam.git"
"git+https://codeberg.org/sewn/drwl.git")
sha1sums=('SKIP' 'SKIP')

prepare() {
  cd $pkgname
  git submodule init
  git config submodule.drwl.url $srcdir/drwl
  git -c protocol.file.allow=always submodule update

  if [ -e "$BUILDDIR/config.h" ]; then
    cp "$BUILDDIR/config.h" "$srcdir"/"$pkgname"
  fi
}

Submodule config courtesy of https://wiki.archlinux.org/title/VCS_package_guidelines#Tips_and_tricks.

izzqz commented on 2024-12-29 14:05 (UTC)

@tomcat0x42 Added. This is useful, thanks

tomcat0x42 commented on 2024-12-28 15:07 (UTC)

Could you add a prepare function like this:

prepare() {
  if [ -e "$BUILDDIR/config.h" ]; then
    cp "$BUILDDIR/config.h" "$srcdir"/"$pkgname"
  fi
}

To add a custom config.h?