diff options
Diffstat (limited to 'dist/archlinux')
-rw-r--r-- | dist/archlinux/.gitignore | 6 | ||||
-rw-r--r-- | dist/archlinux/PKGBUILD | 27 | ||||
-rw-r--r-- | dist/archlinux/scrotty.install | 20 |
3 files changed, 0 insertions, 53 deletions
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 -} - |