From 784a84d315cbc5c4942a6396299cfc385ea48e9a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 8 Dec 2015 12:58:06 +0100 Subject: Packaging moved to my collective repo for them (not needed now that it is documented in INSTALL.) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- dist/archlinux/.gitignore | 6 ------ dist/archlinux/PKGBUILD | 27 --------------------------- dist/archlinux/scrotty.install | 20 -------------------- 3 files changed, 53 deletions(-) delete mode 100644 dist/archlinux/.gitignore delete mode 100644 dist/archlinux/PKGBUILD delete mode 100644 dist/archlinux/scrotty.install diff --git a/dist/archlinux/.gitignore b/dist/archlinux/.gitignore deleted file mode 100644 index e65850c..0000000 --- a/dist/archlinux/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -* -!/.git* -*~ -!/PKGBUILD -!/scrotty.install - diff --git a/dist/archlinux/PKGBUILD b/dist/archlinux/PKGBUILD deleted file mode 100644 index 53c42be..0000000 --- a/dist/archlinux/PKGBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> - -pkgname=scrotty -pkgver=1.0.2 -pkgrel=1 -pkgdesc="Screenshot program for Linux's TTY" -arch=(i686 x86_64) -url="https://github.com/maandree/scrotty" -license=('GPL3' 'custom:GFDL1.3') -depends=(linux glibc imagemagick) -makedepends=(make coreutils glibc gcc texinfo) -install=scrotty.install -source=($url/archive/$pkgver.tar.gz) -sha256sums=(b8e6e157b795807ca44ab0e6ac178d0f3071c0e8df513dc50dabb1bafb877514) - - -build() { - cd "$srcdir/$pkgname-$pkgver" - make PREFIX=/usr -} - - -package() { - cd "$srcdir/$pkgname-$pkgver" - make PREFIX=/usr install DESTDIR="$pkgdir" -} - diff --git a/dist/archlinux/scrotty.install b/dist/archlinux/scrotty.install deleted file mode 100644 index 8e40299..0000000 --- a/dist/archlinux/scrotty.install +++ /dev/null @@ -1,20 +0,0 @@ -_file="scrotty" - -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 -} - -- cgit v1.2.3-70-g09d2