summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 44cc8fa04da38488d00188b3f1ac7668f09de774 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: goten002 <goten002@gmail.com>
# Contributor: epinull
# Maintainer: saxonbeta <saxonbeta at gmail>
pkgname=mynotex
pkgver=1.3.1.0
pkgrel=2
pkgdesc="A free note-taking and notes manager software for Linux."
url="http://sites.google.com/site/mynotex"
license=('GPL')
arch=('i686' 'x86_64')
depends=('sqlite3' 'gtk2')

if [ "$CARCH" = "i686" ]; then
	debarch=("i386")
        md5sums=('e2422e2a4bef4a6a73a2aeff9f09961e')
fi

if [ "$CARCH" = "x86_64" ]; then
	debarch=("amd64")
	md5sums=('df57fdfa2b0edab253655b7c398934af')
fi
source=("https://sites.google.com/site/mynotex/files/mynotex_${pkgver}_${debarch}.deb")

package() {

  cd "${srcdir}"
  tar -axf data.tar.xz -C "$pkgdir"
  mkdir -p "${pkgdir}/usr/bin/"
  ln -s "/opt/mynotex/mynotex" "${pkgdir}/usr/bin/mynotex"
  
}