diff options
author | Mattias Andrée <maandree@kth.se> | 2017-10-16 20:18:31 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2017-10-16 20:18:31 +0200 |
commit | ab46bf8016b253c9900cc3b3742e60c32ff4085d (patch) | |
tree | e04813af400f22f81de4ba7c5a178496f5828622 /dist/archlinux | |
parent | update dist (diff) | |
download | mongoclock-ab46bf8016b253c9900cc3b3742e60c32ff4085d.tar.gz mongoclock-ab46bf8016b253c9900cc3b3742e60c32ff4085d.tar.bz2 mongoclock-ab46bf8016b253c9900cc3b3742e60c32ff4085d.tar.xz |
Update license, change style, simplify makefile, and do not use gpp2.3
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'dist/archlinux')
-rw-r--r-- | dist/archlinux/stable/.gitignore | 4 | ||||
-rw-r--r-- | dist/archlinux/stable/PKGBUILD | 26 | ||||
-rw-r--r-- | dist/archlinux/stable/mongoclock.install | 20 |
3 files changed, 0 insertions, 50 deletions
diff --git a/dist/archlinux/stable/.gitignore b/dist/archlinux/stable/.gitignore deleted file mode 100644 index 81fed16..0000000 --- a/dist/archlinux/stable/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -* -!/PKGBUILD -!/mongoclock.install -!/.gitignore diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD deleted file mode 100644 index b77c0ed..0000000 --- a/dist/archlinux/stable/PKGBUILD +++ /dev/null @@ -1,26 +0,0 @@ -# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> - -pkgname=mongoclock -pkgver=2.2 -pkgrel=2 -pkgdesc='Just a humongous clock for the terminal' -arch=(any) -url='https://github.com/maandree/mongoclock' -license=('GPL3') -depends=(glibc linux) -makedepends=(linux-api-headers general-preprocessor texinfo) -install=mongoclock.install -source=("${url}/archive/${pkgver}.tar.gz") -sha256sums=(ae2298905a2f729679fddaeb732183b95607438af62dca02bdf5ae0a1b29e950) - - -build() { - cd "$srcdir/mongoclock-$pkgver" - make -} - -package() { - cd "$srcdir/mongoclock-$pkgver" - make DESTDIR="${pkgdir}" install -} - diff --git a/dist/archlinux/stable/mongoclock.install b/dist/archlinux/stable/mongoclock.install deleted file mode 100644 index e9a601a..0000000 --- a/dist/archlinux/stable/mongoclock.install +++ /dev/null @@ -1,20 +0,0 @@ -_file="mongoclock" - -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 -} - |