# Description: a lightweight calendar applet written in C++ using GTK
# URL: https://github.com/dmedvinsky/gsimplecal
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: gtk3 xorg-libxcomposite xorg-libxcursor xorg-libxinerama

name=gsimplecal
version=2.4.1
release=1
source=(https://github.com/dmedvinsky/gsimplecal/archive/v$version/$name-$version.tar.gz)

build() {
  cd $name-$version
  ./autogen.sh
  sed -i -e 's!sys/sysctl.h!linux/sysctl.h!g' src/Unique.cpp
  ./configure --prefix=/usr
  make
  make DESTDIR=$PKG install
}
