diff options
author | not_anonymous | 2015-07-05 18:09:55 -0600 |
---|---|---|
committer | not_anonymous | 2015-07-05 18:09:55 -0600 |
commit | aaa39336cf489b123dc2c46318e139f33f745208 (patch) | |
tree | 526cdb3527fd927ce75ce70d7cab3dd87d048df2 | |
download | aur-aaa39336cf489b123dc2c46318e139f33f745208.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 42 | ||||
-rw-r--r-- | linsmith.desktop | 16 | ||||
-rw-r--r-- | linsmith.install | 11 |
4 files changed, 92 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d948c726b55b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = linsmith + pkgdesc = A Smith Charting program, mainly designed for educational use + pkgver = 0.99.28 + pkgrel = 1 + url = http://jcoppens.com/soft/linsmith/index.en.php + install = linsmith.install + arch = i686 + arch = x86_64 + license = GPL + makedepends = intltool + makedepends = pkg-config + depends = tcl + depends = libgnomeui + depends = desktop-file-utils + source = http://downloads.sourceforge.net/linsmith/linsmith-0.99.28.tar.gz + source = linsmith.desktop + md5sums = 45375788e636cae80ff53fc722c54ed2 + md5sums = 2d0246a85ce1aebd359c5c3cabfed7b5 + sha256sums = 22196edb6e4c72a45a3d0a794a0bb140ab5932a5e59a40e2e9ee143b53c4235d + sha256sums = bc74c02dbedc8c80b552e276c770e9ee3f0b231e371ea08a3e0a6921812b1938 + +pkgname = linsmith + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..21e0a38ced18 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: not_anonymous <nmlibertarian@gmail.com> +# Contributor: SpepS <dreamspepser at yahoo dot it> +# Contributor: Anton Bazhenov <anton.bazhenov at gmail> +# Original Submission: Bob Finch <w9ya@qrparci.net> + +pkgname=linsmith +pkgver=0.99.28 +pkgrel=1 +pkgdesc="A Smith Charting program, mainly designed for educational use" +arch=('i686' 'x86_64') +url="http://jcoppens.com/soft/linsmith/index.en.php" +license=('GPL') +depends=('tcl' 'libgnomeui' 'desktop-file-utils') +makedepends=('intltool' 'pkg-config') +install=$pkgname.install +source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" + "$pkgname.desktop") + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install + + install -Dm644 doc/$pkgname.1 "$pkgdir/usr/share/man/man1/$pkgname.1" + install -Dm644 doc/manual.pdf "$pkgdir/usr/share/$pkgname/doc/manual.pdf" + + find "$pkgdir/usr/share/man/man1" -name *.1 -exec gzip -9 {} + + + install -Dm644 ../$pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop" + install -Dm644 linsmith_icon.xpm "$pkgdir/usr/share/pixmaps/$pkgname.xpm" +} +md5sums=('45375788e636cae80ff53fc722c54ed2' + '2d0246a85ce1aebd359c5c3cabfed7b5') +sha256sums=('22196edb6e4c72a45a3d0a794a0bb140ab5932a5e59a40e2e9ee143b53c4235d' + 'bc74c02dbedc8c80b552e276c770e9ee3f0b231e371ea08a3e0a6921812b1938') diff --git a/linsmith.desktop b/linsmith.desktop new file mode 100644 index 000000000000..70f123af5399 --- /dev/null +++ b/linsmith.desktop @@ -0,0 +1,16 @@ +[Desktop Entry] +Name=linSmith +Name[en_US]=linSmith +Comment=Smith Charting program +Comment[en_US]=Smith Charting program +Encoding=UTF-8 +Exec=linsmith +Icon=linsmith.xpm +MimeType=text/plain +StartupNotify=true +Terminal= +TerminalOptions= +Type=Application +Categories=Application;HamRadio; +X-DCOP-ServiceType=none +X-KDE-SubstituteUID=false diff --git a/linsmith.install b/linsmith.install new file mode 100644 index 000000000000..2eaa60550d51 --- /dev/null +++ b/linsmith.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |