summaryrefslogtreecommitdiff
path: root/libre/your-freedom/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-11 22:34:26 +0000
committerroot <root@rshg047.dnsready.net>2011-05-11 22:34:26 +0000
commit8867b1d4d0601b21618d44d015460739590ca01d (patch)
treee67076b8591d23942739891c69b2f5459ff9e909 /libre/your-freedom/PKGBUILD
parent01b47af6474ac094ec199c7d75208874f8842d87 (diff)
Wed May 11 22:34:25 UTC 2011
Diffstat (limited to 'libre/your-freedom/PKGBUILD')
-rw-r--r--libre/your-freedom/PKGBUILD29
1 files changed, 11 insertions, 18 deletions
diff --git a/libre/your-freedom/PKGBUILD b/libre/your-freedom/PKGBUILD
index 26df281b6..83f9070fc 100644
--- a/libre/your-freedom/PKGBUILD
+++ b/libre/your-freedom/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Parabola Project <dev@list.parabolagnulinux.org>
pkgname=your-freedom
-pkgver=$(LC_ALL=C date +%Y%m%d)
+pkgver=$(LC_ALL=C date -u +%Y%m%d)
pkgrel=1
pkgdesc="This package conflicts with every unfree package known to date."
arch=('any')
@@ -8,25 +8,18 @@ url="http://parabolagnulinux.org"
license=('GPL')
groups=('base')
install=${pkgname}.install
-source=(http://repo.parabolagnulinux.org/docs/blacklist.txt
- http://repo.parabolagnulinux.org/docs/whitelist.txt)
+source=()
+md5sums=()
noextract=()
-md5sums=() #generate with 'makepkg -g'
-
-get_blacklist() {
- unfree=($(wget -q -O - ${source[0]} | \
- cut -d':' -f1,2 | \
- sed "s/:$//" | \
- grep -v ":" | \
- sort -u))
- echo "conflicts=(${unfree[@]})"
-}
build() {
- install -d $pkgdir/usr/share/doc/${pkgname}
- install -m644 $srcdir/{black,white}list.txt
+ cd ${srcdir}
+ wget http://repo.parabolagnulinux.org/docs/blacklist.txt
+ wget http://repo.parabolagnulinux.org/docs/whitelist.txt
+ install -d ${pkgdir}/usr/share/doc/${pkgname}
+ install -m644 {black,white}list.txt ${pkgdir}/usr/share/doc/${pkgname}/
}
-md5sums=('2637ca96bd9e39dacd452bec01307345'
- '98d40d324ed474a9b2a222432fb97f02')
-conflicts=(abyssws aqua-data-studio arch-artwork arch-firefox-search archlinux-artwork archlinux-menus archlinux-themes-kde archlinux-themes-kdm archlinux-themes-slim archlinux-wallpaper arch-wiki-docs b43-fwcutter bass blobwars boinc boinc-nox chromium-bsu crafty d4x dina-font dosemu faac firefox-i18n firefox-spell-pt-br firefox-spell-ru flashplugin fmodex font-mathematica foomatic-db-nonfree gstreamer0.10-bad ipw2100-fw ipw2200-fw iwlwifi-1000-ucode iwlwifi-3945-ucode iwlwifi-4965-ucode iwlwifi-5000-ucode iwlwifi-5150-ucode iwlwifi-6000-ucode java-sun jdk jre kernel26-firmware lha lib32-libflashsupport lib32-nvidia-utils libflashsupport linux-firmware mac martian martian-utils mesa-demos mod_fastcgi monaco-linux-font ndiswrapper ndiswrapper-utils netperf nouveau-firmware nvidia nvidia-173xx nvidia-173xx-utils nvidia-96xx nvidia-96xx-utils nvidia-cg-toolkit nvidia-lts nvidia-utils nxclient openttd-opensfx opera povray profont pypy qingy-theme-arch qstat rt2870usb-fw rt2x00-rt61-fw rt2x00-rt71w-fw sdlmame sfarkxtc skype skype-oss skype-staticqt slim-themes snes9x sopcast sqlite3-doc tarsnap ttf-hannom ttf-ms-fonts urbanterror urbanterror-data vbaexpress virtualbox-additions virtualbox-additions-modules visualboyadvance warsow-data xdm-archlinux xf86-input-vmmouse xf86-video-vmware xorg-xlsfonts xpdf-chinese-simplified xpdf-chinese-traditional xpdf-japanese xpdf-korean xsnow xv zd1211-firmware)
+package() {
+ conflicts=($(cut -d: -f1 ${pkgdir}/usr/share/doc/${pkgname}/blacklist.txt))
+}