Skip to content

Commit

Permalink
add: pipes.sh-bin (#562)
Browse files Browse the repository at this point in the history
* add(packagelist): `pipes.sh-bin`

* add(packages): `pipes.sh-bin`
  • Loading branch information
wizard-28 authored Dec 28, 2021
1 parent 12d2e3c commit 9ed4cb0
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ paper-icon-theme
pdf-mix-tool-git
pdfmm-git
pfetch-bin
pipes.sh-bin
pipewire
planner-git
polybar
Expand Down
34 changes: 34 additions & 0 deletions packages/pipes.sh-bin/pipes.sh-bin.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name="pipes.sh-bin"
pkgname="pipes.sh"
pkgdir="${STOWDIR}/${name}"
version="1.3.0"
description="Animated pipes terminal screensaver"
url="https://github.com/pipeseroni/${pkgname}/archive/v${version}.tar.gz"
breaks="${pkgname} ${pkgname}-git ${pkgname}-deb ${pkgname}-app"
hash="532976dd8dc2d98330c45a8bcb6d7dc19e0b0e30bba8872dcce352361655a426"

prepare() {
true
}

build() {
true
}

install() {
# Install license
sudo install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"

# Install doc
sudo install -Dm644 "README.rst" -t "${pkgdir}/usr/share/doc/${pkgname}"

# Install binary
sudo make DESTDIR="${pkgdir}" PREFIX=/usr install
}

removescript() {
# Remove empty directories
sudo rm -rf "/usr/share/licenses/${pkgname}"
sudo rm -rf "/usr/share/doc/${pkgname}"
}
# vim:set ft=sh ts=2 sw=2 et:

0 comments on commit 9ed4cb0

Please sign in to comment.