From 55314907a3a38567e7e439f5a06d9067dce2883a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 7 Dec 2015 15:00:49 +0100 Subject: move dist files 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 ++++++++++++++++++++ dist/archlinux/stable/.gitignore | 6 ------ dist/archlinux/stable/PKGBUILD | 27 --------------------------- dist/archlinux/stable/scrotty.install | 20 -------------------- 6 files changed, 53 insertions(+), 53 deletions(-) create mode 100644 dist/archlinux/.gitignore create mode 100644 dist/archlinux/PKGBUILD create mode 100644 dist/archlinux/scrotty.install delete mode 100644 dist/archlinux/stable/.gitignore delete mode 100644 dist/archlinux/stable/PKGBUILD delete mode 100644 dist/archlinux/stable/scrotty.install (limited to 'dist/archlinux') diff --git a/dist/archlinux/.gitignore b/dist/archlinux/.gitignore new file mode 100644 index 0000000..e65850c --- /dev/null +++ b/dist/archlinux/.gitignore @@ -0,0 +1,6 @@ +* +!/.git* +*~ +!/PKGBUILD +!/scrotty.install + diff --git a/dist/archlinux/PKGBUILD b/dist/archlinux/PKGBUILD new file mode 100644 index 0000000..53c42be --- /dev/null +++ b/dist/archlinux/PKGBUILD @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 0000000..8e40299 --- /dev/null +++ b/dist/archlinux/scrotty.install @@ -0,0 +1,20 @@ +_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 +} + diff --git a/dist/archlinux/stable/.gitignore b/dist/archlinux/stable/.gitignore deleted file mode 100644 index e65850c..0000000 --- a/dist/archlinux/stable/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -* -!/.git* -*~ -!/PKGBUILD -!/scrotty.install - diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD deleted file mode 100644 index 53c42be..0000000 --- a/dist/archlinux/stable/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/stable/scrotty.install b/dist/archlinux/stable/scrotty.install deleted file mode 100644 index 8e40299..0000000 --- a/dist/archlinux/stable/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