updates from Bob
authorBdale Garbee <bdale@gag.com>
Thu, 13 May 2010 07:27:39 +0000 (01:27 -0600)
committerBdale Garbee <bdale@gag.com>
Thu, 13 May 2010 07:27:39 +0000 (01:27 -0600)
contrib/arch-linux/PKGBUILD-git.altos
contrib/arch-linux/PKGBUILD-git.nickle

index f0fe45f..88590d9 100644 (file)
@@ -1,6 +1,6 @@
 # Contributor: Bob Finch <w9ya@qrpqrci.net>
 pkgname=altos-git
-pkgver=VERSION
+pkgver=20100507
 pkgrel=1
 pkgdesc="Software solutions for high powered rocketry avionics"
 arch=('i686' 'x86_64')
@@ -13,8 +13,6 @@ optdepends=('uucp: cu is included and is a bare boned terminal to serial program
             'google-earth: useful for viewing the kml files of the flight path'
             'docbook-xsl: for making an html doc file from the xsl source'
             'fop: for making a pdf doc file from the xsl source')
-source=(altos.desktop)
-md5sums=('7308c5b015991046b195d1a2c0987004')
 
 _gitroot="git://git.gag.com/fw/altos"
 _gitname="altos"
@@ -49,5 +47,19 @@ build() {
   mkdir -p $startdir/pkg/usr/share/pixmaps
   mkdir -p $startdir/pkg/usr/share/applications
   install -m644 debian/*.xpm $startdir/pkg/usr/share/pixmaps
-  install -m644 ../*.desktop $startdir/pkg/usr/share/applications
+  install -m644 debian/*.desktop $startdir/pkg/usr/share/applications
+  
+  #
+  # OPTIONAL DOC BUILD - *** UNCOMMENT TO INSTALL DOCUMENTATION
+  #
+  
+#  xsltproc -o telemetrum.html /usr/share/xml/docbook/xsl-stylesheets-1.74.0/html/docbook.xsl\
+#       doc/telemetrum.xml
+#  xsltproc -o telemetrum.fo /usr/share/xml/docbook/xsl-stylesheets-1.74.0/fo/docbook.xsl\
+#       doc/telemetrum.xml
+#  fop -fo telemetrum.fo -pdf telemetrum.pd
+#  
+#  mkdir -p $startdir/pkg/usr/share/altos/doc
+#  install -m 644 *.html $startdir/pkg/usr/share/altos/doc/
+#  install -m 644 *.pdf $startdir/pkg/usr/share/altos/doc/
 } 
index 2f1515e..9ed6546 100644 (file)
@@ -38,6 +38,6 @@ build() {
   make || return 1
   make DESTDIR="$pkgdir/" install
   
-  install -D -m 644 $startdir/src/COPYING\
-     $startdir/pkg/usr/share/licenses/$pkgname/COPYING.txt
+  install -D -m 644 COPYING\
+     $startdir/pkg/usr/share/licenses/nickle/COPYING.txt
 }