diff --git a/.SRCINFO b/.SRCINFO index b513c32..8a60b90 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,8 +1,9 @@ pkgbase = joplin pkgdesc = A note taking and to-do application with synchronization capabilities - Split Package pkgver = 1.4.19 - pkgrel = 7 + pkgrel = 8 url = https://joplinapp.org/ + install = joplin.install arch = x86_64 arch = i686 groups = joplin diff --git a/PKGBUILD b/PKGBUILD index fa3fc86..d400731 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -8,7 +8,8 @@ pkgbase="joplin" pkgname=('joplin' 'joplin-desktop-electron') pkgver=1.4.19 groups=('joplin') -pkgrel=7 +pkgrel=8 +install="joplin.install" pkgdesc="A note taking and to-do application with synchronization capabilities - Split Package" arch=('x86_64' 'i686') conflicts=('joplin-cli' 'joplin-desktop') diff --git a/joplin.install b/joplin.install new file mode 100644 index 0000000..c857b2b --- /dev/null +++ b/joplin.install @@ -0,0 +1,38 @@ +## arg 1: the new package version +#pre_install() { + # do something here +#} + +## arg 1: the new package version +post_install() { + echo "This is now a split Package:" + echo "joplin for a CLI version" + echo "joplin-desktop-electron for a Desktop version" + echo "You may need to install them explicity on some AUR helpers" +} + +## arg 1: the new package version +## arg 2: the old package version +#pre_upgrade() { + # do something here +#} + +## arg 1: the new package version +## arg 2: the old package version +post_upgrade() { + echo "This is now a split Package:" + echo "joplin for a CLI version" + echo "joplin-desktop-electron for a Desktop version" + echo "You may need to install them explicity on some AUR helpers" +} + +## arg 1: the old package version +#pre_remove() { + # do something here +#} + +## arg 1: the old package version +#post_remove() { + # do something here +#} +