All checks were successful
Build and push Archlinux package / build (push) Successful in 12s
32 lines
No EOL
708 B
Bash
32 lines
No EOL
708 B
Bash
# Maintainer: edpibu <contact@edgarpierre.fr>
|
|
pkgname=desktop-git
|
|
pkgver=0.0.0
|
|
pkgrel=1
|
|
pkgdesc="Edpibu's desktop entries"
|
|
arch=(any)
|
|
url="https://code.edgarpierre.fr/epdibu/desktop"
|
|
license=("MIT")
|
|
depends=()
|
|
makedepends=()
|
|
optdepends=()
|
|
sha256sums=('SKIP')
|
|
|
|
source=("git+https://code.edgarpierre.fr/edpibu/desktop.git")
|
|
|
|
pkgver() {
|
|
cd "${pkgname%-git}"
|
|
git describe --tags | sed -e"s/^v//"
|
|
}
|
|
package() {
|
|
cd "$srcdir/${pkgname%-git}"
|
|
|
|
cd src
|
|
for f in $(find . -name "*.desktop"); do
|
|
install -Dm644 $f "$pkgdir/usr/share/applications/$f"
|
|
done
|
|
|
|
cd ../icons
|
|
for f in $(find . -name "*.svg"); do
|
|
install -Dm644 $f "$pkgdir/usr/share/pixmaps/$f"
|
|
done
|
|
} |