diff options
author | Mattias Andrée <maandree@kth.se> | 2021-03-02 18:11:58 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-03-02 18:11:58 +0100 |
commit | d615f10762649507aebee9419147246bb1dc2a93 (patch) | |
tree | 4b3196b0bb70b6be4dd720c4be533517634b7f7e /dist/archlinux/stable | |
parent | X RAndR: Fix connection failure detection (diff) | |
download | libgamma-d615f10762649507aebee9419147246bb1dc2a93.tar.gz libgamma-d615f10762649507aebee9419147246bb1dc2a93.tar.bz2 libgamma-d615f10762649507aebee9419147246bb1dc2a93.tar.xz |
Change license + change style + misc
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'dist/archlinux/stable')
-rw-r--r-- | dist/archlinux/stable/.gitignore | 6 | ||||
-rw-r--r-- | dist/archlinux/stable/PKGBUILD | 28 | ||||
-rw-r--r-- | dist/archlinux/stable/libgamma.install | 20 |
3 files changed, 0 insertions, 54 deletions
diff --git a/dist/archlinux/stable/.gitignore b/dist/archlinux/stable/.gitignore deleted file mode 100644 index 32cf156..0000000 --- a/dist/archlinux/stable/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -* -!/.git* -*~ -!/PKGBUILD -!/libgamma.install - diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD deleted file mode 100644 index 549f350..0000000 --- a/dist/archlinux/stable/PKGBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> - -pkgname=libgamma -pkgver=0.7.3 -pkgrel=1 -pkgdesc="Display server abstraction layer for gamma ramps" -arch=(i686 x86_64) -url="https://github.com/maandree/libgamma" -license=('GPL3' 'custom:GFDL1.3') -depends=(glibc libxcb libx11 libxxf86vm libdrm) -makedepends=(glibc libxcb libx11 libxxf86vm libdrm sh make grep sed coreutils gcc general-preprocessor python3 texinfo bash pkg-config) -install=libgamma.install -source=($url/archive/$pkgver.tar.gz) -sha256sums=(a72ac05c15fb8e099c05a69dd4017456b4c360227a467718f53c8c7921d60225) - - -build() { - cd "$srcdir/$pkgname-$pkgver" - ./configure --linux - make PREFIX=/usr lib info -} - - -package() { - cd "$srcdir/$pkgname-$pkgver" - make PREFIX=/usr install-base install-info DESTDIR="$pkgdir" -} - diff --git a/dist/archlinux/stable/libgamma.install b/dist/archlinux/stable/libgamma.install deleted file mode 100644 index a2042ce..0000000 --- a/dist/archlinux/stable/libgamma.install +++ /dev/null @@ -1,20 +0,0 @@ -_file="libgamma" - -infodir="usr/share/info" -file="${_file}.info" - - -post_install() { - [[ -x "usr/bin/install-info" ]] || return 0 - install-info -- "${infodir}/${file}" "${infodir}/dir" 2> /dev/null -} - -post_upgrade() { - post_install "$1" -} - -pre_remove() { - [[ -x "usr/bin/install-info" ]] || return 0 - install-info --delete -- "${infodir}/${file}" "${infodir}/dir" 2> /dev/null -} - |