diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-08-31 14:34:57 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-08-31 14:34:57 -0300 |
commit | 91f6c5fdff5b0363dd7ace7f118aa3fcd97cca90 (patch) | |
tree | cac0556b2703a964c2f05ccedc58685aca67e7b0 /libre | |
parent | 1bb280b5ce55fb99b7c1539139a1eea17107d969 (diff) | |
parent | dbcb8e9c6086b7795901a743ef2bc0c4fa6b628f (diff) | |
download | abslibre-91f6c5fdff5b0363dd7ace7f118aa3fcd97cca90.tar.gz abslibre-91f6c5fdff5b0363dd7ace7f118aa3fcd97cca90.tar.bz2 abslibre-91f6c5fdff5b0363dd7ace7f118aa3fcd97cca90.zip |
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre')
-rw-r--r-- | libre/your-freedom_emu/PKGBUILD | 25 | ||||
-rw-r--r-- | libre/your-freedom_emu/your-freedom_emu.install | 27 |
2 files changed, 52 insertions, 0 deletions
diff --git a/libre/your-freedom_emu/PKGBUILD b/libre/your-freedom_emu/PKGBUILD new file mode 100644 index 000000000..2b9b16fc1 --- /dev/null +++ b/libre/your-freedom_emu/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Parabola Project <dev@list.parabolagnulinux.org> +pkgname=your-freedom_emu +pkgver=$(LC_ALL=C date -u +%Y%m%d) +pkgrel=1 +pkgdesc="This package removes hardware emulators that emulate technically free games and/or OS (but only there are nonfree games and/or OS)." +arch=('any') +url="https://parabolagnulinux.org" +license=('GPL3') +groups=('base') +install=${pkgname}.install +source=(${pkgname}-blacklist-${pkgver}.txt::https://projects.parabolagnulinux.org/blacklist.git/plain/${pkgname}-blacklist.txt) + +package() { + conflicts=($(cut -d: -f1,2 ${pkgname}-blacklist-${pkgver}.txt | \ + sed "s/:$//" | \ + grep -v ":" | \ + grep -v '^#' | \ + sort -u + )) + cd ${srcdir} + install -d ${pkgdir}/usr/share/doc/${pkgname} + install -m644 ${pkgname}-blacklist-${pkgver}.txt ${pkgdir}/usr/share/doc/${pkgname}/ +} + +md5sums=('197e40b43d0495e26535db7aee90f4ff') diff --git a/libre/your-freedom_emu/your-freedom_emu.install b/libre/your-freedom_emu/your-freedom_emu.install new file mode 100644 index 000000000..cd39eb3e8 --- /dev/null +++ b/libre/your-freedom_emu/your-freedom_emu.install @@ -0,0 +1,27 @@ + +pre_install() { + cat <<EOM + == IMPORTANT NOTICE == + + This package will help you identify emulator packages that are installed + on your system at the time of its installation, as well as protecting + you from (accidentally) installing them. + + Also, if any other emulator package is identified, later updates will ask + you for its removal. + + Have in mind that, if you want to retain certain emulator packages + installed on your system, you'll have to remove your-freedom_emu :) + + Please report back to the Parabola Project on the usual channels: + * https://labs.parabola.nu + * irc://freenode.net/#parabola + * mailto:dev@lists.parabolagnulinux.org +EOM +} + +pre_upgrade() { + pre_install +} + +# vim:set ts=2 sw=2 et: |