summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-05-10 18:01:17 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-05-10 18:01:17 -0500
commit924d91fc2ed138218250b797eef9ff53fbb3ed11 (patch)
tree5706b48402a4461535b08bbcc09be8493dec07f0 /libre
parent805c40101ed4b238163a4440b1255f08acdbfc0f (diff)
Commiting libre package your-freedom-20110510-1
Diffstat (limited to 'libre')
-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))
+}