Use GNU directories, and create PKGSTATEDIR to put database in a writable location