Files

37 lines
982 B
Bash

# Maintainer: twa022 <twa022 at gmail dot com>
# Contributor: Diego Principe <cdprincipe@at@gmail@dot@com>
# Contributor: PAblo Lezaeta <prflr88@gmail.com>
_pkgname=xfce4-whiskermenu-plugin
pkgname=${_pkgname}-git-var
pkgver=20231126
pkgrel=1
pkgdesc="Alternate Xfce menu"
arch=('x86_64')
url="http://gottcode.org/${_pkgname}/"
license=("GPL2")
depends=("xfce4-panel" "exo>=0.11")
makedepends=("cmake" "git")
groups=("xfce4-goodies" "xfce4-goodies-git")
provides=("${_pkgname}=${pkgver%%.r*}")
conflicts=("${_pkgname}")
source=("${_pkgname}::git+https://datacube.duckdns.org/git/FOSS/${_pkgname}")
md5sums=("SKIP")
pkgver() {
#cd "${srcdir}/${_pkgname}"
#git describe --long --tags | sed -r "s:^${_pkgname}.::;s/^v//;s/^xfce-//;s/-/+/g"
date +%Y%m%d
}
build() {
cd "${srcdir}/${_pkgname}"
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib
make
}
package() {
cd "${srcdir}/${_pkgname}"
make DESTDIR="$pkgdir" install
}