summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorNick Østergaard2014-06-08 13:47:23 +0200
committerNick Østergaard2014-06-08 13:47:23 +0200
commit9aabd92bcd9a8253f6fc5dbdb05d4fecc09af248 (patch)
tree49e0c2df62752b2a6411d4fbd4932a27ddac036e /PKGBUILD
parenta62ffb69fa699568bcbca0555b95cb365ae46583 (diff)
downloadaur-9aabd92bcd9a8253f6fc5dbdb05d4fecc09af248.tar.gz
Add environment variable
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ff88ca7e72b9..eab79265cb73 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Nick Østergaard <oe.nick at gmail dot com>
pkgname=kicad-pretty-git
pkgver=1
-pkgrel=1
+pkgrel=2
pkgdesc="KiCad .pretty repos. Theese are the new footprint library."
arch=('any')
url="https://github.com/KiCad"
@@ -41,6 +41,9 @@ package() {
wget -q https://raw.githubusercontent.com/KiCad/kicad-library/master/template/fp-lib-table.for-pretty \
-O "$pkgdir/usr/share/kicad/footprints/fp-lib-table"
+
+ mkdir -p "$pkgdir/etc/profile.d"
+ echo "export KISYSMOD=/usr/share/kicad/footprints" > "$pkgdir/etc/profile.d/kicad-pretty-git.sh"
}
# vim:set ts=2 sw=2 et: