diff options
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 32 | ||||
-rw-r--r-- | myframe.patch | 4 | ||||
-rw-r--r-- | treesheets.desktop | 9 |
4 files changed, 23 insertions, 30 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Wed Dec 30 18:29:08 UTC 2015 +# Fri Jan 8 22:14:45 UTC 2016 pkgbase = treesheets-git pkgdesc = The ultimate replacement for spreadsheets, mind mappers, outliners, PIMs, text editors and small databases - pkgver = r122.2ce41d5 + pkgver = r126.a79eabe pkgrel = 1 url = http://treesheets.com/ arch = i686 @@ -15,11 +15,9 @@ pkgbase = treesheets-git depends = wxgtk depends = webkitgtk2 source = git://github.com/aardappel/treesheets.git#branch=master - source = treesheets.desktop source = myframe.patch sha512sums = SKIP - sha512sums = e423f46c1ea08d7429a3ffe027911dba52ded81228c6110f695ff19d56090ed93a6081bbc98329aa509f9888b042f995bfa3ce87cbcb34db9aab352f929b5bc2 - sha512sums = 50ea4008f10d0e0248b77295fe664ca341a6225f4d3edb040d3bd0bba90943bcfe5372224cc92ea4047f1e7c4515ab32508752ba32c183faa195bcb239240e4b + sha512sums = 7ea8b6947c334adebba774bcdd4db27670206a216de0c023c2b69aa3ad3b621165733a36f03f2e23bab1e7721982a24c29c4446754ba79c11c5735961ad04816 pkgname = treesheets-git @@ -2,7 +2,7 @@ _pkgname=treesheets pkgname=$_pkgname-git -pkgver=r122.2ce41d5 +pkgver=r126.a79eabe pkgrel=1 pkgdesc='The ultimate replacement for spreadsheets, mind mappers, outliners, PIMs, text editors and small databases' url='http://treesheets.com/' @@ -10,13 +10,14 @@ license=('zlib') depends=('wxgtk' 'webkitgtk2') makedepends=('git') arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h') - -source=("git://github.com/aardappel/$_pkgname.git#branch=master" - "$_pkgname.desktop" - "myframe.patch") -sha512sums=('SKIP' - 'e423f46c1ea08d7429a3ffe027911dba52ded81228c6110f695ff19d56090ed93a6081bbc98329aa509f9888b042f995bfa3ce87cbcb34db9aab352f929b5bc2' - '50ea4008f10d0e0248b77295fe664ca341a6225f4d3edb040d3bd0bba90943bcfe5372224cc92ea4047f1e7c4515ab32508752ba32c183faa195bcb239240e4b') +source=( + "git://github.com/aardappel/$_pkgname.git#branch=master" + 'myframe.patch' +) +sha512sums=( + 'SKIP' + '7ea8b6947c334adebba774bcdd4db27670206a216de0c023c2b69aa3ad3b621165733a36f03f2e23bab1e7721982a24c29c4446754ba79c11c5735961ad04816' +) pkgver() { cd $_pkgname @@ -26,7 +27,6 @@ pkgver() { prepare() { cd $_pkgname patch -p1 < ../myframe.patch - find TS/examples -type f -exec chmod 644 '{}' \; find TS/images -type f ! -iname '*.png' -delete } @@ -36,13 +36,17 @@ build() { } package() { - install -Dm644 $_pkgname.desktop "$pkgdir/usr/share/applications/$_pkgname.desktop" cd $_pkgname install -Dm644 ZLIB_LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - install -Dm755 TS/$_pkgname "$pkgdir/usr/bin/$_pkgname" + + cd TS + install -Dm644 $_pkgname.desktop "$pkgdir/usr/share/applications/$_pkgname.desktop" + install -Dm644 images/icon32.png "$pkgdir/usr/share/pixmaps/$_pkgname.png" + install -Dm755 $_pkgname "$pkgdir/usr/bin/$_pkgname" + install -dm755 "$pkgdir/usr/share/$_pkgname" - cp -R TS/examples "$pkgdir/usr/share/$_pkgname/examples" - cp -R TS/images "$pkgdir/usr/share/$_pkgname/images" - cp -R TS/docs "$pkgdir/usr/share/$_pkgname/docs" + cp -R examples "$pkgdir/usr/share/$_pkgname/examples" + cp -R images "$pkgdir/usr/share/$_pkgname/images" + cp -R docs "$pkgdir/usr/share/$_pkgname/docs" } diff --git a/myframe.patch b/myframe.patch index e5f323eb647f..580ccba0ef33 100644 --- a/myframe.patch +++ b/myframe.patch @@ -1,8 +1,8 @@ diff --git a/src/myframe.h b/src/myframe.h -index bba070d..f7e8441 100755 +index 6673c0e..89591fc 100755 --- a/src/myframe.h +++ b/src/myframe.h -@@ -56,7 +56,7 @@ struct MyFrame : wxFrame +@@ -79,7 +79,7 @@ struct MyFrame : wxFrame sys->frame = this;
diff --git a/treesheets.desktop b/treesheets.desktop deleted file mode 100644 index e82b056402d3..000000000000 --- a/treesheets.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Treesheets -GenericName=Spreadsheet Organizer -Comment=Free Form Hierarchical Information Organizer -Exec=treesheets -Icon=/usr/share/treesheets/images/icon32.png -Categories=Office;Spreadsheet: -Terminal=false |