From 44e388ceb622803b74de809f1c0b569f70d32690 Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Wed, 24 Mar 2021 19:48:15 +0100 Subject: [PATCH] Dropped Arch folder. --- Arch/PKGBUILD | 47 --------------------------------------------- Arch/clight.install | 7 ------- 2 files changed, 54 deletions(-) delete mode 100644 Arch/PKGBUILD delete mode 100644 Arch/clight.install diff --git a/Arch/PKGBUILD b/Arch/PKGBUILD deleted file mode 100644 index 34f293a4..00000000 --- a/Arch/PKGBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Maintainer: Federico Di Pierro - -pkgname=clight-git -_gitname=Clight -pkgver=r508.b62c77b -pkgrel=1 -pkgdesc="A C daemon that turns your webcam into a light sensor. It can also change display gamma temperature, dim your screen and set your dpms. Devel version." -arch=('i686' 'x86_64') -url="https://github.com/FedeDP/${_gitname}" -license=('GPL') -backup=(etc/default/clight.conf) -depends=('systemd-libs' 'popt' 'libconfig' 'gsl' 'clightd-git' 'libmodule>=5.0.0' 'hicolor-icon-theme') -makedepends=('git' 'cmake' 'bash-completion') -optdepends=('geoclue2: to retrieve user location through geoclue2.' - 'upower: to save energy by managing ac states increasing timeouts while on battery.' - 'bash-completion: to add support for bash automatic completion.') -provides=('clight') -conflicts=('clight') -source=("git://github.com/FedeDP/${_gitname}.git") -install=clight.install -sha256sums=("SKIP") - -pkgver() { - cd "$_gitname" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} - -prepare() { - cd "${srcdir}/${_gitname}" - mkdir -p build -} - -build() { - cd "${srcdir}/${_gitname}/build" - cmake \ - -G "Unix Makefiles" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DCMAKE_BUILD_TYPE="Release" \ - .. - make -} - -package() { - cd "${srcdir}/${_gitname}/build" - make DESTDIR="$pkgdir" install -} diff --git a/Arch/clight.install b/Arch/clight.install deleted file mode 100644 index e525a677..00000000 --- a/Arch/clight.install +++ /dev/null @@ -1,7 +0,0 @@ -post_install() { - echo '--> By default, first matching webcam/als device and backlight interface are used.' - echo '--> Therefore, it should work out of the box even without any setup in most cases.' - echo '--> For any customization, take a look at settings file placed in /etc/default/clight.conf.' - echo '--> If you are not in a XDG compliant DE, remember to add clight to your autostart script.' -} -