Skip to content

Instantly share code, notes, and snippets.

@realitygaps

realitygaps/PKGBUILD

Created Dec 18, 2015
Embed
What would you like to do?
Anarchism FAQ PKGBUILD for archlinux
# Contributors:
# henning mueller <henning@orgizm.net>
# realitygaps <realitygaps AT yahoo DOT com>
pkgname=anarchism
pkgver=14.0
pkgrel=1
_debpkgrel=3
pkgdesc='Source of information regarding Anarchist (libertarian socialist) theory and practice.'
arch=(any)
license=(FDL)
url=http://www.infoshop.org/AnAnarchistFAQ
options=(docs)
depends=(xdg-utils)
source=(
http://mirrors.kernel.org/debian/pool/main/a/$pkgname/$pkgname\_$pkgver-$_debpkgrel\_all.deb
anarchism.desktop
anarchism.png
anarchism.svg
)
build() {
cd $srcdir
ar x $(basename $source)
xz -d data.tar.xz
tar xf data.tar
}
package() {
cd $srcdir
cp -r usr $pkgdir
mkdir -p $pkgdir/usr/share/{applications,pixmaps}
cp $pkgname.png $pkgdir/usr/share/pixmaps
cp $pkgname.desktop $pkgdir/usr/share/applications
}
sha256sums=('326d59b1e1d1c57e094da14510c23a54276bcbd06f3343eb902a80cdcf846196'
'fc5cc0c2918037bdbebb16b27de5e847e5041c6e50fe37ef073b501446221521'
'81f90b8985679d1a9741cf21a4908cbb12d3fe3d67dabb7af0b77e73c1c16744'
'66fbad2b8a849e1a643f98dac50095b8ab5ddf0256f407c2c629aa5ef5e17e62')
~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment